release 1.7.6
[m6w6/ext-http] / docs / http.ini
1 ; example INI file for pecl/http
2 ; $Id$
3
4 [http]
5 ; enable if you want to transform all errors to exceptions (PHP >= 5 only)
6 ;http.only_exceptions = 1
7
8 ; disable if you don't want php to exit in case of redirects and cache hits;
9 ; a "NULL" output handler will be started instead, which discards all output
10 ;http.force_exit = 0
11
12 ; disable if you don't want 404 Not found status messages being sent,
13 ; if a file attempted to be sent with http_send_file() etc. cannot be found
14 ;http.send.not_found_404 = 0
15
16 ; the hashing algorithm with wich ETags are generated (MD5, SHA1, CRC32B);
17 ; if ext/hash is available, this can be set to any hash algorithm ext/hash supports
18 ; MD5 is the default and fallback algorithm
19 ;http.etag.mode = "MD5"
20
21 ; allowed request methods
22 ; by default PHP ignores unkown request methods
23 ; PHP will exit with a response status of 405 and an Allow header
24 ; if it encounters a request method not contained in the specified list
25 ;http.request.methods.allowed = "HEAD, GET, POST"
26
27 ; custom request methods
28 ;http.request.methods.custom = "KICK, BANN"
29
30 ; log file for positive cache hits
31 ;http.log.cache =
32
33 ; log file for redirects
34 ;http.log.redirect =
35
36 ; log file for responses with http_send_file() etc. where the file's not been found
37 ;http.log.not_found =
38
39 ; log file for requests with an unallowed request method
40 ;http.log.allowed_methods =
41
42 ; composite log file (i.e. log all messages to this file)
43 ;http.log.composite =
44
45 ; automatically deflate content if requested/supported by client
46 ;http.send.deflate.start_auto = 1
47 ;http.send.deflate.start_flags = HTTP_DEFLATE_LEVEL_DEF
48
49 ; automatically inflate sent content
50 ;http.send.inflate.start_auto = 0
51 ;http.send.inflate.start_flags =
52
53 ; global HttpRequestDataShare settings
54 ;http.request.datashare.cookie = 0
55 ;http.request.datashare.dns = 1
56
57 ; limit of idle persistent handles per provider
58 ;http.persistent.handles.limit = -1
59
60 ; default ident of persistent handles
61 ;http.persistent.handles.ident = "GLOBAL"