The default bug view has changed. See this FAQ.

W3C CUAP: Respect Content-Type HTTP header

VERIFIED WORKSFORME

Status

()

Core
Networking
VERIFIED WORKSFORME
16 years ago
6 years ago

People

(Reporter: gerv, Assigned: neeti)

Tracking

({testcase})

Trunk
testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

16 years ago
[ This bug is one of the recommendations in the W3C's "Common User Agent 
Problems" document, URL above. One bug has been filed on each recommendation, 
for deciding whether we do it and, if not, whether we should. ]

3.2 Respect the media type of a resource if one is explicitly given using
the Content-Type HTTP header.

     Example:

     If an HTML document is returned with a Content-Type value of
     text/plain, the user agent must render the document as plain text
     without interpreting HTML elements and attributes (i.e. the HTML
     source must be displayed).
(Reporter)

Updated

16 years ago
Blocks: 68427
(Reporter)

Comment 1

16 years ago
Rumour has it that we do this right, so this is WORKSFORME... but 
this needs confirmation by someone in the know.

Gerv

Updated

16 years ago
Hardware: PC → All

Comment 2

16 years ago
People keep filing bugs that suggest mozilla ignore content types under certain
circumstances. Bug 67646 is the most disturbing to me.

I would certainly want mozilla to obey the server except, possibly, under a very
few circumstances and these circumstances would have to be user-specifed.

Updated

16 years ago
Depends on: 67646

Comment 3

16 years ago
Created attachment 25428 [details]
testcase

Comment 4

16 years ago
I have attached a test case and it works for me with Mozilla 0.8 on NT4.
Marking so.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Keywords: testcase
Resolution: --- → WORKSFORME

Comment 5

16 years ago
reporter:

This bug is a "futured" or "untargeted" bug which has been "resolved/works for
me". Most bugs meeting this criteria are usually somewhat out of date or working
in the current builds.

If this bug is not happening for you in a recent build (such as the Mozilla
daily build, Mozilla 0.9.3, or Netscape 6.1), please use the friendly "Mark bugs
as VERIFIED" radio button to set this bug to "VERIFIED/WORKS FOR ME"
If you reported the bug on a platform (e.g. Linux) and other contributors
reported on another platform (e.g. Mac OS), please comment that it works for you
 but do not verify it yet.

For these multi-platform bug reports, we need to verify all reported platforms
-OR- create new "still broken on platform X" bugs when you verify.
(Reporter)

Comment 6

16 years ago
Verified.
Status: RESOLVED → VERIFIED

Comment 7

6 years ago
Sorry it did not work for all mimetypes and all kind of item names. 
If we set application/x.moin.download for downloading items it only works for those without an extension. e.g. Image is send with application/x.moin.download and using a name of Image.png ignores that given mimetype. It changes the mimetype because of the extension to image/png.

The reason for using our own mimetype for downloading is that we want to download multiple items in one shot. If the mimetype once becomes accepted by the user he can fetch all items without enabling this download feature for all kind of mimetypeds.

Verified Broken
You need to log in before you can comment on or make changes to this bug.