httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Kukuchka <chr...@sequoiagroup.com>
Subject Re: Location header in Handler
Date Sun, 28 Nov 2010 04:45:43 GMT
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. 

Chris Kukuchka
Sequoia Group, Inc.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

SIG Meetings: March 27, 2011 |  Conference : March 28-30, 2011 | The Peabody Orlando |


Mime
View raw message