-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scope and structure of mimesniff #152
Comments
Likely of relevance (last updated 2015): Which has possibly been replaced by: |
From 4.2. MIME type miscellaneous:
|
As mentioned above, the original intent of mimesniff was for safely dealing with Web resources missing a Content-Type header or having been tagged with an incorrect MIME type; in other words, the legacy Web. (It originated from a paper published in 2009.) However, after I took over as editor (circa 2012), I added the Context-specific sniffing section (6220ba2) in anticipation of its use by editors of specs like HTML or CSS for tying in their new features (like Soon after that, I stepped back from editing to do life stuff, having done little communication/outreach with other spec authors and leaving behind little documentation of my reasoning. Somewhere along the way, #4 happened, without any of the above being known, and with no one having stepped in to formally take my place as spec editor. Sometime after that, #70 was filed pointing out some issues. Fast forward to today. A lot of the things that were in their infancy when I was originally editing have since come into their own. There are slightly more urgent needs for what I have termed context-specific sniffing, before Bad Things™ become permanent. In order to help jump-start this discussion, and others, I've been working this week on actually getting a basic test suite into wpt (web-platform-tests/wpt#30403). (It turns out there is a lot of disagreement between browser vendors and the spec, which is not great.) While I can't guarantee that I'll be able to put a ton of dedicated time into the spec in the future, I'm hoping this will at least provide the activation energy for others to passively maintain things. I'm also hoping that this issue here can serve as a place to hash out the needs of the various stakeholders in mimesniff without inadvertently working at cross-purposes and hopefully to help build a stronger document. |
@annevk from #70:
The original purpose of mimesniff was the first point, but many authors have been using it for the second point.
We should discuss whether the second point is within the scope of mimesniff and, if so, how to structure the spec to avoid conflating the two (or three).
The text was updated successfully, but these errors were encountered: