|  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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
47 - 39 = ?
Subscribe to this entry?

 [2003-06-13 08:16 UTC] Xuefer at 21cn dot com
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:
0=> "Content-Type: ..",
1=> "Set-Cookie: ...",
2=> "Set-Cookie: ...",
3=> "Set-Cookie: ...",


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-01 01:46 UTC]
-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]
Agreed. Thanks for pointing it out!
 [2012-09-10 03:10 UTC]
-Status: Open +Status: Duplicate
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Jul 27 11:01:23 2021 UTC