On Mon 21 Apr 2008, J Amuse wrote:
> I wrote a simple module that parses the HTTP response body and updates
> certain text. I want the script to be able to parse and manipulate the HTTP
> response headers as well. For example add secure and HttpOnly flags to
> certain cookies, or add a redirection when a 500 error code is returned.

You can modify outgoing headers up to the time they are sent. So, at the very 
first call to your filter you can modify the status code as well as outgoing 
headers. See Apache2::POST200 on CPAN.

Torsten

--
Need professional mod_perl support?
Just hire me: [EMAIL PROTECTED]

Reply via email to