From: [EMAIL PROTECTED] Operating system: any PHP version: 4.2.1 PHP Bug Type: Feature/Change Request Bug description: Provide a way to remove http headers - like f.x. header("Pragma:")
Sometimes it would be very handy to be able to remove a http header that has already been set (for example, by the session module). Even though header() allows me to replace a header, there is no way to completely remove it. Proposal: header("Pragma:") could be used to remove a Pragma header - i.e. a header given with no parms would remove the header. Better: New function like remove_header() -- Edit bug report at http://bugs.php.net/?id=19778&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19778&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19778&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19778&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19778&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19778&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19778&r=support Expected behavior: http://bugs.php.net/fix.php?id=19778&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19778&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19778&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19778&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19778&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=19778&r=dst IIS Stability: http://bugs.php.net/fix.php?id=19778&r=isapi