String data=""
ap_set_content_type(r, data.c_str());
}
Hongmei
-Original Message-
From: Eric Covener [mailto:cove...@gmail.com]
Sent: Saturday, October 24, 2009 9:13 AM
To: users@httpd.apache.org
Subject: Re: [us...@httpd] Help: HTTP respons
On Fri, Oct 23, 2009 at 8:59 PM, HE Hongmei
wrote:
>
> We added some logs before and after the above calls, and found the
> content-type is always right. However, sometimes (not always), in the
> response sent by Apache server, Content-Type will be changed to
> something like "application/user-con
We developed an Apache module. In the module, when we sent HTTP
response, Apache always changed the "Content-Type", sometimes this field
is correct, sometime it is truncated, sometimes with an invalid value.
We sent response back with the following function, and the response
header was always se