php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #24173 ability and get dup headers
Submitted: 2003-06-13 08:16 UTC Modified: 2012-09-10 03:10 UTC
From: Xuefer at 21cn dot com Assigned:
Status: Duplicate Package: Apache related
PHP Version: 4.3.2 OS: all
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Xuefer at 21cn dot com
New email:
PHP Version: OS:

 

 [2003-06-13 08:16 UTC] 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: ...",
);


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-01 01:46 UTC] jani@php.net
-Package: Feature/Change Request +Package: Apache related
 [2012-09-09 12:10 UTC] space at wechall dot net
This can be closed as duplicate of Bug #44744.
 [2012-09-10 03:10 UTC] aharvey@php.net
Agreed. Thanks for pointing it out!
 [2012-09-10 03:10 UTC] aharvey@php.net
-Status: Open +Status: Duplicate
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC