Ceci est la réponse brute générée à partir du serveur (en utilisant Fiddler2)Pourquoi Internet Explorer (8) pensant que c'est XML
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/plain; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
MicrosoftOfficeWebServer: 5.0_Pub
MS-Author-Via: MS-FP/4.0
Date: Fri, 10 Dec 2010 18:19:18 GMT
Content-Length: 594
Contents of 24194_XXXXXXXXXX.log as of 10/12/2010 19:19:18
w3wp.exe Information: 0 : START: New Alarm [9]
w3wp.exe Information: 0 : 12/10/2010 19:14:56 - <?xml version="1.0"?>
<CALLS>
<CALL>
<CALL_ID>9_1</CALL_ID>
<BODY>004|007|015|058|1_ToConfirm|2_ToDecline</BODY>
<LANGID>321</LANGID>
<TO1>99999999999</TO1>
<TO2 />
</CALL>
</CALLS>
w3wp.exe Information: 0 : END: New Alarm [9]
w3wp.exe Information: 0 : 12/10/2010 19:15:30 - <RESULT><CALL_ID>9_1</CALL_ID><CALLRESULT1>0</CALLRESULT1><DTMF1>2</DTMF1><CALLRESULT2></CALLRESULT2><DTMF2></DTMF2></RESULT>
Dans mon asp.net IHttpHandler
j'ai mis
context.Response.ContentType = "text/plain";
Ce qui est clairement de retour. Dans IE8 Je peux voir ceci:
Lorsque je tente la Save Target As ...-je obtenir ce (Notez le Enregistrer sous:):
Je suppose que c'est simplement parce que IE décide de ne pas obéir au type de contenu donné et au lieu de cela commence à analyser le contenu, trouve l'en-tête xml et c'est tout. Pourquoi l'IE devrait-il se comporter soudainement comme s'il était écrit dans des normes exotiques :-)? – eckes
J'ai fugué autant ;-) – Rudi