From 30f23d359aff10b458f036226a8e10bceb0a2da9 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Sun, 19 Mar 2006 15:02:57 +0000 Subject: [PATCH] - add note about HttpResponse::getHeader() not working with Apache2 and PHP<5.1.3 --- KnownIssues.txt | 3 +++ http_response_object.c | 2 ++ 2 files changed, 5 insertions(+) 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. */ -- 2.30.2