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 <cove...@gmail.com>
To: modules-dev@httpd.apache.org; Nce Rt <nce...@yahoo.com> 
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 <nce...@yahoo.com> 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.

Reply via email to