X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fhttp.ini;h=11e818996440614790891a91c4b8799b57c6bb77;hb=f2d0dbf38d7b00455d3dfba8f2de087105ae0f35;hp=bd575f2fb73ab1fb07f7bab8d1b964d00ba03f40;hpb=fb9722e3794bd20bf1012ab6936533a25b0ed1fe;p=m6w6%2Fext-http diff --git a/docs/http.ini b/docs/http.ini index bd575f2..11e8189 100644 --- a/docs/http.ini +++ b/docs/http.ini @@ -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