Doc #54472 [Opn->Nab]: $http_response_header values limited to 1023 characters
| From: | googleguy@php.net | Date: | Wed, 14 Nov 2012 18:10:33 +0000 |
| Subject: | Doc #54472 [Opn->Nab]: $http_response_header values limited to 1023 characters | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-9129@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=54472&edit=1
ID: 54472
Updated by: googleguy@php.net
Reported by: laurent dot piroelle at brainsonic dot com
Summary: $http_response_header values limited to 1023
characters
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
Operating System: Windows XP
PHP Version: 5.2.17
Block user comment: N
Private report: N
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
I can not reproduce this behavior using the latest PHP release branches 5.3.18
and 5.4.8. I also can't find any relevant code that would indicate what you're
saying is expected behavior. I have no problem getting headers that are longer
than 1023 bytes in length from the $http_response_header magic variable or the
get_headers() function.
If you have any code to reproduce this behavior please reopen the bug report
with a reproducible example and include the PHP version you used.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2011-04-05 19:45:27] laurent dot piroelle at brainsonic dot com
Description:
------------
The documentation should mention that the values in the variable $http_response_header are limited
to 1023 characters. A value longer than 1023 characters will be split into multiple keys/values into
the array.
---
From manual page: http://www.php.net/reserved.variables.httpresponseheader
---
Expected result:
----------------
An updated documentation page http://www.php.net/reserved.variables.httpresponseheader
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=54472&edit=1