• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/tdeio
 

tdeio/tdeio

  • tdeio
  • tdeio
http_slave_defaults.h
1/* This file is part of the KDE libraries
2 Copyright (C) 2001 Waldo Bastian <bastian@kde.org>
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License version 2 as published by the Free Software Foundation.
7
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Library General Public License for more details.
12
13 You should have received a copy of the GNU Library General Public License
14 along with this library; see the file COPYING.LIB. If not, write to
15 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 Boston, MA 02110-1301, USA.
17*/
18
19#ifndef _TDEIO_HTTP_SLAVE_DEFAULTS_H
20#define _TDEIO_HTTP_SLAVE_DEFAULTS_H
21
22// CONNECTION
23#define DEFAULT_KEEP_ALIVE_TIMEOUT 60 // 60 seconds
24
25// CACHE SETTINGS
26#define DEFAULT_MAX_CACHE_SIZE 5120 // 5 MB
27#define DEFAULT_MAX_CACHE_AGE 60*60*24*14 // 14 DAYS
28#define DEFAULT_CACHE_EXPIRE 3*60 // 3 MINS
29#define DEFAULT_CLEAN_CACHE_INTERVAL 30*60 // 30 MINS
30#define DEFAULT_CACHE_CONTROL TDEIO::CC_Refresh // Verify with remote
31#define CACHE_REVISION "7\n" // Cache version
32
33// DEFAULT USER AGENT KEY - ENABLES OS NAME
34#define DEFAULT_USER_AGENT_KEYS "o" // Show OS
35
36// MAXIMUM AMOUNT OF DATA THAT CAN BE SAFELY SENT OVER IPC
37#define MAX_IPC_SIZE 1024*8
38
39// AMOUNT OF DATA TO OBTAIN FROM THE SERVER BY DEFAULT
40#define DEFAULT_BUF_SIZE 1024*4
41
42// SOME DEFAULT HEADER VALUES
43#define DEFAULT_LANGUAGE_HEADER "en"
44#define DEFAULT_MIME_TYPE "text/html"
45#define DEFAULT_PARTIAL_CHARSET_HEADER ", utf-8;q=0.5, *;q=0.5"
46
47#define DEFAULT_ACCEPT_HEADER "text/html, image/jpeg, image/png, text/*, image/*, */*"
48
49#endif

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdeio by doxygen 1.9.4
This website is maintained by Timothy Pearson.