This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27057 - "supported by the user agent"
Summary: "supported by the user agent"
Status: RESOLVED WORKSFORME
Alias: None
Product: WHATWG
Classification: Unclassified
Component: MIME (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Gordon P. Hemsley
QA Contact: sideshowbarker+mimespec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-15 12:12 UTC by Simon Pieters
Modified: 2019-03-29 23:07 UTC (History)
1 user (show)

See Also:


Attachments

Description Simon Pieters 2014-10-15 12:12:44 UTC
https://mimesniff.spec.whatwg.org/#supported-by-the-user-agent

[[
supported by the user agent
]]

What should happen with unknown parameters? Type not supported, or parameters ignored? 

Should the empty string be supported? Before or after trimming whitespace?

I think we should align with what Gecko does for http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3252
Comment 1 Simon Pieters 2014-10-15 12:27:55 UTC
Also see http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=3254

https://html.spec.whatwg.org/multipage/scripting.html#scriptingLanguages
and
https://html.spec.whatwg.org/multipage/semantics.html#the-style-element

say that unknown parameters means unsupported type, though.

What about just a trailing ; ?
Comment 2 Simon Pieters 2014-10-15 12:45:56 UTC
http://w3c-test.org/images/green-256x256.png?pipe=header(Content-Type,text/html%3Bfoo%3Dbar)

shows that browsers ignore unknown parameters in Content-Type HTTP header.
Comment 3 Gordon P. Hemsley 2019-03-29 23:07:45 UTC
A lot of work has been done on parameters since this bug was filed. If there are still remaining concerns, please file them as GitHub issues.