Help and Support

Article ID: 329661 - Last Review: February 1, 2007 - Revision: 3.3

Internet Explorer Does Not Handle "Text/Plain" Content-Type as Expected

This article was previously published under Q329661
Expand all | Collapse all

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:
<?xml version="1.0" encoding="iso-8859-1"?>
				
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  (http://support.microsoft.com/kb/239750/EN-US/ ) "Text/Plain" Content-Type Header Field Is Ignored
However, if data sampling detects XML content, Internet Explorer ignores this revised registry value.

APPLIES TO
  • Microsoft Internet Explorer 6.0, when used with:
    • Microsoft Windows XP Home Edition
    • Microsoft Windows XP Professional
    • Microsoft Windows XP Media Center Edition
    • Microsoft Windows XP Tablet PC Edition
    • Microsoft Windows 2000 Advanced Server
    • Microsoft Windows 2000 Datacenter Server
    • Microsoft Windows 2000 Professional Edition
    • Microsoft Windows 2000 Server
    • Microsoft Windows NT Server 4.0 Standard Edition
    • Microsoft Windows NT Server 4.0, Terminal Server Edition
    • Microsoft Windows NT Workstation 4.0 Developer Edition
    • Microsoft Windows Millennium Edition
Keywords: 
kbprb KB329661

Article Translations

 

Related Support Centers