搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox can't display several of my own posted websites, claiming they are already downloaded applications. Other browsers display them.

  • 3 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 cor-el

more options

I've had other people e-mail me and also report that their web browser cannot display images (jpg) on several of the web pages. When I either follow a link to the web pages or enter the correct URL, Firefox reports that it is downloaded an application from the web and asks if it should cancel or open it. If open is chosen, it shows the html text but does not display any of the images. Both Safari and iCab on the Mac displace the entire web pages fine as does the iPad.

I've had other people e-mail me and also report that their web browser cannot display images (jpg) on several of the web pages. When I either follow a link to the web pages or enter the correct URL, Firefox reports that it is downloaded an application from the web and asks if it should cancel or open it. If open is chosen, it shows the html text but does not display any of the images. Both Safari and iCab on the Mac displace the entire web pages fine as does the iPad.

所有回覆 (3)

more options

That file is send as content type application/octet-stream.
Firefox will never render such a file, but always offer to save a file send with such a MIME type.

See: http://developer.mozilla.org/en/docs/Properly_Configuring_Server_MIME_Types

http://web-sniffer.net/?url=http%3A//web.me.com/dtrapp/Bainbridge/PleasantBeach.html&http=1.1&gzip=yes&type=GET&uak=0

more options

The html file is labeled as "text/html" in meta data and after downloading "as an application", Firefox still lists the type in page information as "text/html." It is nowhere listed as an "application/octet-stream." Rendering mode is "Standards compliance mode" and encoding is ISO-8859-15. But strangely the Modified date is listed as "30 January, 2010" when the current version of the file is actually 30 October 2010. The actual downloaded file is a version edited and posted earlier today.

more options

What you specify in meta data is not important and is ignored by Firefox. It is the content type in the HTTP response headers that matter and that specifies application/octet-stream.

You can see the response header via the link to the web-sniffer website that I posted above or use the Live HTTP Headers extension.