Closed
Bug 207174
Opened 22 years ago
Closed 22 years ago
want option to obey file extension over content-type
Categories
(Core Graveyard :: File Handling, enhancement)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 207154
People
(Reporter: jwz, Assigned: law)
Details
The world is full of misconfigured web servers, because those servers just
happen to work fine with Internet Explorer.
I'm tired of clicking on a link to a .mp3 or .mov file, and then having my
window fill with binary crud because the server sent Content-Type: text/plain.
(I understand that this isn't a problem in MSIE, since they always use file
extensions and ignore the server's Content-Type header.)
I propose an option that would enable the following behavior when
loading a URL:
- get the extension from the URL;
- if there is a mime.types association for that extension,
and that extension is not text/* or application/octet-stream:
- then ignore the server's Content-Type in favor of the mime.types type.
Or, maybe only do this if the server also sent a text/* or octet-stream type.
Comments?
(Possibly also relevant to bug 57342)
Comment 1•22 years ago
|
||
I don't think bug 57342 can be solved this way, but I still like the idea of
being able to override the content type from braindead servers.
Severity: normal → enhancement
OS: Linux → All
Comment 2•22 years ago
|
||
*** This bug has been marked as a duplicate of 207154 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•