[Webkit-unassigned] [Bug 17360] REGRESSION: mp4 file downloaded from server is downloaded as html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 14 14:35:32 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17360





------- Comment #5 from webkit at blaut.biz  2008-02-14 14:35 PDT -------
Opera also suggests to download the file.

I found in this doc:
http://developer.mozilla.org/en/docs/How_Mozilla_determines_MIME_Types the
clause regarding this issue and how Gecko copes with such issues:

"When the Content-Type sent by the server is one of (case-sensitively)

* text/plain
* text/plain; charset=ISO-8859-1
* text/plain; charset=iso-8859-1

and the server did not send a Content-Encoding header, Mozilla will sniff the
first block of data it gets and check for non-text bytes. Text bytes are 9-13,
27, and 31-255. When encountering a non-text byte, the helper app dialog will
be shown, showing the MIME type corresponding to the extension of the file."


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list