You might however prefer to simply configure it in factories.xml:
<response class="AgaviWebResponse">
  <ae:parameter name="http_headers">
    <ae:parameter name="Pragma"></ae:parameter>

That should work just as well.

- David


On 20.10.2009, at 06:34, Michal Charemza wrote:


On 20 Oct 2009, at 11:05, Felix Gilcher wrote:
$this->getResponse()->setHttpHeader('Pragma', '');

Overwrites the header set by php with an empty value. It should not
have any side effects. You can use curl or any other low level http
lib to check whether the header is really removed.

Thank you!

Michal.

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to