http_slave_defaults.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 #ifndef _KIO_HTTP_SLAVE_DEFAULTS_H
00020 #define _KIO_HTTP_SLAVE_DEFAULTS_H
00021 
00022 
00023 #define DEFAULT_KEEP_ALIVE_TIMEOUT      60              // 60 seconds
00024 
00025 
00026 #define DEFAULT_MAX_CACHE_SIZE          5120            // 5 MB
00027 #define DEFAULT_MAX_CACHE_AGE           60*60*24*14     // 14 DAYS
00028 #define DEFAULT_CACHE_EXPIRE            3*60            // 3 MINS
00029 #define DEFAULT_CLEAN_CACHE_INTERVAL    30*60           // 30 MINS
00030 #define DEFAULT_CACHE_CONTROL           KIO::CC_Refresh // Verify with remote
00031 #define CACHE_REVISION                  "7\n"           // Cache version
00032 
00033 
00034 #define DEFAULT_USER_AGENT_KEYS         "o"             // Show OS
00035 
00036 
00037 #define MAX_IPC_SIZE                    1024*8
00038 
00039 
00040 #define DEFAULT_BUF_SIZE                1024*4
00041 
00042 
00043 #define DEFAULT_LANGUAGE_HEADER         "en"
00044 #define DEFAULT_MIME_TYPE               "text/html"
00045 #define DEFAULT_PARTIAL_CHARSET_HEADER   ", utf-8;q=0.5, *;q=0.5"
00046 
00047 #define DEFAULT_ACCEPT_HEADER           "text/html, image/jpeg, image/png, text*"
00048 
00049 #endif
 
This file is part of the documentation for kio Library Version 3.2.0.