
When posting XML data to a Web server by passing a DOMDocument object to the send method of a ServerXMLHTTP object, a content-type header of "text/xml" is automatically added. If you set the request header before sending XML data, the content-type header sent to the Web server is "Text/xml, text/xml" instead of "Text/xml," which may cause problems.
|