httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nce Rt <>
Subject Re: some key fields of request_rec are null
Date Thu, 07 Mar 2013 19:14:56 GMT
I guess I shouldn't have just relied on the code comments in httpd.h(ver 2.2) for this field:
/** The content-type for the current request */

const char *content_type;

Thanks again.

 From: Eric Covener <>
To:; Nce Rt <> 
Sent: Wednesday, March 6, 2013 4:23 PM
Subject: Re: some key fields of request_rec are null
On Wed, Mar 6, 2013 at 6:34 PM, Nce Rt <> wrote:
> It's request_rec which represents http Request not Response. look into this data structure
for the content-type field.

That's not how the field is used.  If you want to read a Content-Type
request header, read it from r->headers_in.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message