httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Sussman <mydd...@vishnu.vidya.com>
Subject Re: [PATCH] mod_rewrite and cookie setting
Date Tue, 16 Jul 2002 19:15:41 GMT
On Tue, Jul 16, 2002 at 10:26:49AM -0700, Ian Holsman wrote:
> Adam Sussman wrote:
> > The new cookie setting feature of mod_rewrite adds the Set-Cookie header
> > to r->headers_out.  Shouldn't this be r->err_headers_out instead?
> > 
> > The error headers are always present whereas the the normal headers do not
> > appear under error conditions.  In applications where I have an apache
> > module setting cookies, I have always found that setting err_headers_out
> > gives me the complete coverage that I want.
> > 
> > Thoughts?
> yep.. a couple of them
> the original patch has err_headers_out and it didn't work as we would 
> get multiple cookies back on a simple request on GET / on a standard 
> install.
> 

hmm... I cannot reproduce this behaviour.  So far as I can see, the only
difference is whether or not the cookie header appears in non-200 reponses.
Can you show me the configuration you used?

-adam

Mime
View raw message