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 > >

Re: Edit HTTP response headers

2008-04-27 Thread Perrin Harkins
On Sun, Apr 27, 2008 at 9:18 AM, J Amuse <[EMAIL PROTECTED]> wrote: > This link references the set method, which will overwrite the header value. > I want to append text (i.e. append a secure and httponly flag if there is a > Set-Cookie header in the HTTP response). Is this possible with the overla

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 >

Re: Edit HTTP response headers

2008-04-23 Thread Torsten Foertsch
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

Re: Edit HTTP response headers

2008-04-23 Thread Perrin Harkins
On Mon, Apr 21, 2008 at 4:30 PM, J Amuse <[EMAIL PROTECTED]> wrote: > when using f->read it appears as though the HTTP headers are not including. > I know err_headers_out should have access to the headers, but is there a way > to force f->read to access the HTTP headers as well? No, the headers ar

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