On Fri, Oct 23, 2009 at 8:59 PM, HE Hongmei <Hongmei.He@xxxxxxxxxxxxxxxxxx> 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-config" or > "application/user-config+xm", or some other values. I suspect its your modules own misuse of r->pool. Completely gut all of your actual logic from your module and see if it still truncates the header. Or start with a new module that just sets the content type and prints a canned response. -- Eric Covener covener@xxxxxxxxx --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx