ZF-6038: Ability to remove single http header from response



If would be nice to have ability to remove separate headers by their respective names, i.e. $this->getResponse()->clearHeader('Pragma')


This patch adds two new methods to Zend_Controller_Response_Abstract with associated passing tests:

  1. clearHeader + testClearHeader
  2. clearRawHeader + testClearRawHeader

Please review -- if anything looks problematic please let me know.

Updated file extension of patch per…

Assigning to component lead per:…

Revised patch removing issue number from test name per note from ralphschindler on

Patch applied to trunk; will release with 1.10 (new features)