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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]