Re: Edit HTTP response headers

2008-04-28 Thread J Amuse
On Wed, Apr 23, 2008 at 5:28 PM, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Mon, Apr 21, 2008 at 4:30 PM, J Amuse <[EMAIL PROTECTED]> wrote: > > > > > > http://perl.apache.org/docs/2.0/user/coding/coding.html#Generating_HTTP_Response_Headers > > <htt

Re: Edit HTTP response headers

2008-04-27 Thread J Amuse
On Wed, Apr 23, 2008 at 5:28 PM, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Mon, Apr 21, 2008 at 4:30 PM, J Amuse <[EMAIL PROTECTED]> wrote: > > > http://perl.apache.org/docs/2.0/user/coding/coding.html#Generating_HTTP_Response_Headers > <http://perl.apa

Rewrite HTTP Headers

2008-04-23 Thread J Amuse
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. The code

Edit HTTP response headers

2008-04-21 Thread J Amuse
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. The code

output filters

2008-01-31 Thread J Amuse
I'm trying to write a filter using modperl that will update parts of the server response on the fly. My first attempt was to rewrite the path setting in the server's set cookie response to set the path to: path=/NewPath. After copying and pasting some examples I came up with the following: package