ID:               50213
 Updated by:       [email protected]
 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

Reply via email to