- add ob_(deflate|inflate)handler
[m6w6/ext-http] / docs / http.ini
index bd575f2fb73ab1fb07f7bab8d1b964d00ba03f40..2d96869f03a04f9faf9d97ef995cfa634ad51bca 100644 (file)
@@ -3,13 +3,15 @@
 
 [http]
 ; enable if you want to transform all errors to exceptions (PHP >= 5 only)
-http.only_exceptions = 0
+;http.only_exceptions = 1
 
-; the hashing algorithm with wich ETags are generated
-; you can use mhash constants if ext/mhash is enabled, or their 
-; literal representation if ext/http was linked against libmhash
-;http.etag_mode = HTTP_ETAG_MHASH_TIGER ; same as 7
-http.etag_mode = HTTP_ETAG_MD5
+; disable if you want php not to exit in case of redirects and cache hits
+;http.force_exit = 0
+
+; the hashing algorithm with wich ETags are generated (MD5, SHA1, CRC32B)
+; if ext/hash is available, this can be set to any hash algorithm ext/hash supports
+; MD5 is the default and fallback algorithm
+http.etag_mode = "MD5"
 
 ; allowed request methods
 ; by default PHP ignores unkown request methods
@@ -28,3 +30,11 @@ http.etag_mode = HTTP_ETAG_MD5
 
 ; composite log file (i.e. log all messages to this file)
 ;http.composite_log =
+
+; automatically deflate content if requested/supported by client
+;http.ob_deflate_auto = 1
+;http.ob_deflate_flags = HTTP_DEFLATE_LEVEL_DEF
+
+; automatically inflate compressed content
+;http.ob_inflate_auto = 0
+;http.ob_inflate_flags =