b3124ff5ee64db91e5ff64a3a1a9735919cf8268
[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 want php not to exit in case of redirects and cache hits
9 ;http.force_exit = 0
10
11 ; the hashing algorithm with wich ETags are generated (MD5, SHA1, CRC32B)
12 ; if ext/hash is available, this can be set to any hash algorithm ext/hash supports
13 ; MD5 is the default and fallback algorithm
14 http.etag.mode = "MD5"
15
16 ; allowed request methods
17 ; by default PHP ignores unkown request methods
18 ; PHP will exit with a response status of 405 and an Allow header
19 ; if it encounters a request method not contained in the specified list
20 ;http.request.methods.allowed = "HEAD, GET, POST"
21
22 ; custom request methods
23 ;http.request.methods.custom = "KICK, BANN"
24
25 ; log file for positive cache hits
26 ;http.log.cache =
27
28 ; log file for redirects
29 ;http.log.redirect =
30
31 ; log file for requests with an unallowed request method
32 ;http.log.allowed_methods =
33
34 ; composite log file (i.e. log all messages to this file)
35 ;http.log.composite =
36
37 ; automatically deflate content if requested/supported by client
38 ;http.send.deflate.start_auto = 1
39 ;http.send.deflate.start_flags = HTTP_DEFLATE_LEVEL_DEF
40
41 ; automatically inflate sent content
42 ;http.send.inflate.start_auto = 0
43 ;http.send.inflate.start_flags =