Microsoft KB Archive/329661

= Internet Explorer Does Not Handle &quot;Text/Plain&quot; Content-Type as Expected =

Article ID: 329661

Article Last Modified on 2/1/2007

-

APPLIES TO


 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0

-



This article was previously published under Q329661



SYMPTOMS
When Internet Explorer receives an HTTP response and the Content-Type header is set to Text/Plain, the browser still performs data sampling to determine the content type.

For example, if you create the following file, and then put the file in a virtual directory (or in an Active Server Pages (ASP) page that sets the Content-Type header to Text/Plain), you see the raw XML content in the browser window when you load the file in Internet Explorer. Therefore, the XML parser is invoked because the Content-Type header changes to Text/XML.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
NOTE: Every XML document should start with the following tag:  You may expect to resolve this issue when you set the IsTextPlainHonored registry key. For additional information about how to do this, click the article number below to view the article in the Microsoft Knowledge Base:

239750 &quot;Text/Plain&quot; Content-Type Header Field Is Ignored

However, if data sampling detects XML content, Internet Explorer ignores this revised registry value.

Keywords: kbprb KB329661

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.