Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ServerXMLHTTP documented bug
Message
De
14/02/2001 15:40:00
Bob Tracy
Independent Consultant
Driftwood, Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
Internet
Catégorie:
XML
Titre:
ServerXMLHTTP documented bug
Divers
Thread ID:
00476007
Message ID:
00476007
Vues:
38
I found this while researching another problem and thought I would post it so it would be in the search database:

Q282102 - PRB: ServerXMLHTTP Object Adds Content-Type Header With XML Data. Applies to: Microsoft XML, Version 3.0

When you post a DOMDocument using the ServerXMLHTTP object, a "text/xml" header is added automatically. If you set a request header, you will get an duplicate content-type header ("text/xml, text/xml") which may cause a problem.

Workarounds:

Don't call setRequestHeader when using the DOM, pass DOMDocument.xml.
Bob Tracy

Never engage in a battle of wits if you're only half armed.
Répondre
Fil
Voir

Click here to load this message in the networking platform