#50213 [Opn->Bgs]: impossible to delete header
| From: | jani@php.net | Date: | Wed, 18 Nov 2009 14:29:31 +0000 |
| Subject: | #50213 [Opn->Bgs]: impossible to delete header | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-144748@lists.php.net to get a copy of this message | ||
ID: 50213
Updated by: jani@php.net
Reported By: svecpetr at svecpetr dot com
-Status: Open
+Status: Bogus
Bug Type: Output Control
Operating System: linux
PHP Version: 5.3.0
New Comment:
RTFM:
http://www.php.net/header_remove
Previous Comments:
------------------------------------------------------------------------
[2009-11-18 05:56:05] svecpetr at svecpetr dot com
Description:
------------
when you or php calls header(XY)
is impossible to delete this header
(yes can overwrite it... but cant delete it)
PS: headers are not sent to client
Reproduce code:
---------------
try this
php.ini set output_buffering = ob_gzhandler
index.php
<?php
ob_end_clean();
ob_start(null, 4096, true);
?>
client writes encoding mismatch... because in index.php is impossible
to delete header Vary and Content-Encoding
Expected result:
----------------
if exists function header_list
why doesnt exists function header_delete
Actual result:
--------------
see above
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50213&edit=1