This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Showing html code when content-type is text/plain. Not able to read meta data information inside the html.

  • 2 பதிலளிப்புகள்
  • 20 இந்த பிரச்னைகள் உள்ளது
  • 36 views
  • Last reply by the-edmeister

Mozilla displays html code in stead of the correct page. I checked the content-type in the header, it is text/plain. But inside the html file the content-type is mentioned as text/html in the meta tag. Is there any way to force content-type to mozilla to use text/html instead of reading from the response header.

URL of affected sites

http://

Mozilla displays html code in stead of the correct page. I checked the content-type in the header, it is text/plain. But inside the html file the content-type is mentioned as text/html in the meta tag. Is there any way to force content-type to mozilla to use text/html instead of reading from the response header. == URL of affected sites == http://

All Replies (2)

Fix the problem on the server that is hosting that page.

Make sure that the file has a .html or another known file extension to make sure that the server recognizes it as an HTML file. The server may send unknown files automatically as text plain.