From: Michael Wallner Date: Sun, 19 Mar 2006 15:02:57 +0000 (+0000) Subject: - add note about HttpResponse::getHeader() not working with Apache2 and PHP<5.1.3 X-Git-Tag: RELEASE_1_0_0RC1~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=30f23d359aff10b458f036226a8e10bceb0a2da9;p=m6w6%2Fext-http - add note about HttpResponse::getHeader() not working with Apache2 and PHP<5.1.3 --- diff --git a/KnownIssues.txt b/KnownIssues.txt index 1406943..5c86827 100644 --- a/KnownIssues.txt +++ b/KnownIssues.txt @@ -4,6 +4,9 @@ $Id$ HttpResponse class is only available for PHP >= 5.1 +HttpResponse::getHeader() does not work in Apache2 with a PHP version +lower than 5.1.3 (as mod_php). + If you keep getting "SSL connect error" when trying to issue requests on Windows, try another (newer) libeay32.dll/ssleay32.dll pair. diff --git a/http_response_object.c b/http_response_object.c index 29f264a..12a9849 100644 --- a/http_response_object.c +++ b/http_response_object.c @@ -306,6 +306,8 @@ PHP_METHOD(HttpResponse, setHeader) * header to read. If the parameter is empty or omitted, an associative array * with all headers will be returned. * + * NOTE: In Apache2 this only works for PHP-5.1.3 and greater. + * * Returns either a string containing the value of the header matching name, * FALSE on failure, or an associative array with all headers. */