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, "text/xml")); ap_table_set(m_rq->err_headers_out, "content-type", apr_pstrdup(m_rq->pool, "text/xml"));
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?
Thanks, Vivek _________________________________________________________________FREE pop-up blocking with the new MSN Toolbar ? get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
--------------------------------------------------------------------- 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