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