Closed
Bug 185623
Opened 23 years ago
Closed 23 years ago
"Type" attribute of <a> should have priority over "application/octet-stream"
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
People
(Reporter: lapsap7+mz, Assigned: asa)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021201
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021201
I've got lots of text files without .txt extension but I still want them to be
displayed as text files, so I use HTML line like this:
<a href="read_me" type="text/plain">Read this to know more</a>
However, it seems that the web server (IIS in W2k) is sending
application/octet-stream to Mozilla when a user clicks on the link, and thus
Mozilla doesn't care about the type attribute defined there.
The only solution is to give .txt extension to those files but this isn't practical.
Reproducible: Always
Steps to Reproduce:
Comment 1•23 years ago
|
||
-> invalid
mozilla will render all text files with a text/plain mime-type.
You must fix your server to send the correct mime-type.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 2•23 years ago
|
||
Well, not only I couldn't see how to configure the stupid MS IIS, what about
those webmasters who couldn't configure web servers? It would be unfair to them
because they're webmasters, not server administrators.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Summary: "Type" attribute of <a> seems to be effectless → "Type" attribute of <a> should have priority over "application/octet-stream"
Comment 3•23 years ago
|
||
see bug 74374 comment 1 : the type-attribute is supposed to be a fallback to
help user-agents that can't , it can't override the settings on the server. Too
bad, it would be more logical that the author can override.
Comment 4•23 years ago
|
||
Googling on "IIS" and "MIME" (or perhaps "MIMEmap") will produce a
number of tutorials on how to configure MIME-types in IIS.
*** This bug has been marked as a duplicate of 74374 ***
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → DUPLICATE
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•