Help and Support
 

powered byLive Search

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

Article ID:329661
Last Review:February 1, 2007
Revision:3.3
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.

Back to the top

STATUS

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

Back to the top

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.

Back to the top


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

Back to the top

Keywords: 
kbprb KB329661

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.