X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_functions.c;h=04377f54ac12c34d94082d799a3916f4f3246b6e;hb=1a4ecd0664889f053891e861096f2ae1bc23e6e6;hp=8f9130042def69c1a234e5e3f2a46d6970ae271c;hpb=6086d2a97b6959531650c886b10dc814ad2392f9;p=m6w6%2Fext-http diff --git a/http_functions.c b/http_functions.c index 8f91300..04377f5 100644 --- a/http_functions.c +++ b/http_functions.c @@ -1230,6 +1230,7 @@ PHP_FUNCTION(http_match_request_header) * redirects to a different host * - proxyhost: string, proxy host in "host[:port]" format * - proxyport: int, use another proxy port as specified in proxyhost + * - proxytype: int, HTTP_PROXY_HTTP, SOCKS4 or SOCKS5 * - proxyauth: string, proxy credentials in "user:pass" format * - proxyauthtype: int, HTTP_AUTH_BASIC and/or HTTP_AUTH_NTLM * - httpauth: string, http credentials in "user:pass" format @@ -1249,6 +1250,9 @@ PHP_FUNCTION(http_match_request_header) * - cookiesession: bool, accept (true) or reset (false) sessioncookies * - resume: int, byte offset to start the download from; * if the server supports ranges + * - range: array, array of arrays, each containing two integers, + * specifying the ranges to download if server support is + * given; only recognized if the resume option is empty * - maxfilesize: int, maximum file size that should be downloaded; * has no effect, if the size of the requested entity is not known * - lastmodified: int, timestamp for If-(Un)Modified-Since header