httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r.@tuxteam.de
Subject Re: Location header in Handler
Date Sun, 28 Nov 2010 15:49:41 GMT
On Sat, Nov 27, 2010 at 09:45:43PM -0700, Chris Kukuchka wrote:
> On Nov 27, 2010, at 4:53 PM, Jodi Bosa <jodibosa@gmail.com> wrote:
> 
> > I must be missing something.  I cannot seem to set headers in a handler.  I
> > am using the Location header thinking that it's the most obvious (I don't
> > really care about redirecting - just using Location for easy debugging).
> > 
> 
> r->err_headers_out is for setting headers to be returned by an error response. You
are returning OK. 
> 
> Try setting r->headers_out instead. 

You mean like in line 4 of the OP's sample code?

;-)


 Cheers, Ralf Mattes
> 
> Chris Kukuchka
> Sequoia Group, Inc.
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
> SIG Meetings: March 27, 2011 |  Conference : March 28-30, 2011 | The Peabody Orlando
|

Mime
View raw message