ZF-6038: Ability to remove single http header from response
Description
Hello,
If would be nice to have ability to remove separate headers by their respective names, i.e. $this->getResponse()->clearHeader('Pragma')
Hello,
If would be nice to have ability to remove separate headers by their respective names, i.e. $this->getResponse()->clearHeader('Pragma')
Comments
Posted by Wil Moore III (wilmoore) (wilmoore) on 2009-12-18T04:19:25.000+0000
This patch adds two new methods to Zend_Controller_Response_Abstract with associated passing tests:
Please review -- if anything looks problematic please let me know.
Posted by Wil Moore III (wilmoore) (wilmoore) on 2009-12-18T09:12:40.000+0000
Updated file extension of patch per http://framework.zend.com/wiki/display/…
Posted by Wil Moore III (wilmoore) (wilmoore) on 2009-12-18T09:13:34.000+0000
Assigning to component lead per: http://framework.zend.com/wiki/display/…
Posted by Wil Moore III (wilmoore) (wilmoore) on 2009-12-18T11:15:03.000+0000
Revised patch removing issue number from test name per note from ralphschindler on #zftalk.dev.
Posted by Matthew Weier O'Phinney (matthew) on 2009-12-18T13:46:38.000+0000
Patch applied to trunk; will release with 1.10 (new features)