httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dmitri zelikov" <>
Subject [users@httpd] Content-type on SOAP fault
Date Mon, 10 Apr 2006 14:28:14 GMT
Hi All,

I have a Web Service returning a SOAP fault. The content-type I set with the 
SOAP fault is text/xml and response code is set to 500.

I modify the request_rec struct and set content-type -

m_rq->content_type = "text/xml";

I even changed the headers_out and err_headers_out as below -

ap_table_set(m_rq->headers_out, "content-type", apr_pstrdup(m_rq->pool, 
ap_table_set(m_rq->err_headers_out, "content-type", apr_pstrdup(m_rq->pool, 

The problem is that when I get the SOAP fault and check my HTTP packet 
trace, I see the content-type as text/html; charset=iso-8859-1

Does apache code change the content-type underneath? Shouldnt it set it what 
I specified?


FREE pop-up blocking with the new MSN Toolbar  get it now!

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message