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 overlay > method? How can I extract the contents of the Set-Cookie header to modify > it?
You can read the headers with $r->headers_out->get(). When you call $r->headers_out() it gives you an APR::Table object which you can read and write as much as you like: http://perl.apache.org/docs/2.0/api/APR/Table.html - Perrin