#24173 [NEW]: ability and get dup headers
| From: | Xuefer at 21cn dot com | Date: | Fri, 13 Jun 2003 13:16:55 +0000 |
| Subject: | #24173 [NEW]: ability and get dup headers | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-41840@lists.php.net to get a copy of this message | ||
From: Xuefer at 21cn dot com
Operating system: all
PHP version: 4.3.2
PHP Bug Type: Feature/Change Request
Bug description: ability and get dup headers
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 bug report at http://bugs.php.net/?id=24173&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24173&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24173&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24173&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24173&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24173&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24173&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24173&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24173&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24173&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24173&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24173&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24173&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24173&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24173&r=gnused