Req #24173 [Opn->Dup]: ability and get dup headers
Edit report at https://bugs.php.net/bug.php?id=24173&edit=1
ID: 24173
Updated by: aharvey@php.net
Reported by: Xuefer at 21cn dot com
Summary: ability and get dup headers
-Status: Open
+Status: Duplicate
Type: Feature/Change Request
Package: Apache related
Operating System: all
PHP Version: 4.3.2
Block user comment: N
Private report: N
New Comment:
Agreed. Thanks for pointing it out!
Previous Comments:
------------------------------------------------------------------------
[2012-09-09 12:10:59] space at wechall dot net
This can be closed as duplicate of Bug #44744.
------------------------------------------------------------------------
[2003-06-13 08:16:55] Xuefer at 21cn dot com
Description:
------------
current apache_response_headers() is not able to return multi headers, e.g.: 2 Set-Cookie, only 1
returned, because it return array, which store only unique key
so i suggest that, add apache_response_headers(true) to return array like this:
array(
0=> "Content-Type: ..",
1=> "Set-Cookie: ...",
2=> "Set-Cookie: ...",
3=> "Set-Cookie: ...",
);
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=24173&edit=1
Thread (3 messages)