From:             svecpetr at svecpetr dot com
Operating system: linux
PHP version:      5.3.0
PHP Bug Type:     Output Control
Bug description:  impossible to delete header

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 bug report at http://bugs.php.net/?id=50213&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=50213&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=50213&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=50213&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=50213&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=50213&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=50213&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=50213&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=50213&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=50213&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=50213&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=50213&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=50213&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=50213&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=50213&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=50213&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=50213&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=50213&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=50213&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=50213&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=50213&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=50213&r=mysqlcfg

Reply via email to