Closed
Bug 104384
Opened 23 years ago
Closed 23 years ago
Mozilla determines content-type from file extension and not header
Categories
(Core :: Networking: HTTP, defect)
Tracking
()
People
(Reporter: graham, Assigned: neeti)
References
()
Details
URL produces a vCard object from an XML file. Mozilla treats this
as type XML, going by the file extension rather than the HTTP header
(which is correct).
Comment 1•23 years ago
|
||
worksforme with win2k build 20011011.
I get a download dialog with [text/x-vcard] and wget also reports
mime-Type : [text/x-vcard]
Reporter:
Which build are you using ? (Please include in all your bug reports the build ID)
Reporter | ||
Comment 2•23 years ago
|
||
Mozilla build is
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.4) Gecko/20010913
Incidentally, it did the same in 0.9.1
Comment 3•23 years ago
|
||
Also seeing this with 2001101021/Redhat 7.1. URL brings up a download dialog
with [text/xml].
Comment 4•23 years ago
|
||
->Networking
Assignee: asa → neeti
Component: Browser-General → Networking: HTTP
QA Contact: doronr → tever
Updated•23 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 5•23 years ago
|
||
We don't determine the mime type from teh extention; we just display the
mimetype from the extention if we couldn't match.
*** This bug has been marked as a duplicate of 46655 ***
You need to log in
before you can comment on or make changes to this bug.
Description
•