[whatwg] [MIME Sniffing] Editorial feedback

timeless timeless at gmail.com
Tue Oct 4 12:31:01 PDT 2011

>> Comparisons between media types, as defined by MIME specifications, are done in an ASCII case-insensitive manner. [RFC2046]

so, the problem is that your `note` here is ambiguous

it's hard to understand that you're just saying `mime rfc says that
mime comparisons are insensitive`,
v. `this specification wants mime comparisons to be insensitive`

you want the former; but `note:` doesn't cause that result; nor does
the `[rfc....]` at the end

> I'm tempted to just rename them to be less semantic.  They're just symbols that don't mean anything, really.

please do :)

> That's a lot of editing!  I'm not sure that buys us much.

i ask, because it actually was useful when i was dealing w/ someone else's spec
they had hex digits and some of them were wrong
it was much easier to read when the hex digits were in <tt>

> That is intentional.  Sniffing SWF is bad times.

i think it might be worth an actual NOTE in the spec explaining that
SWF is intentionally not sniffed, and what that means for untyped SWF
files (actually explaining how it flows and to which resulting sniff

> Thanks to Alfred HÎnes Boris Zbarsky David Singer Mark Pilgrim, and Russ Cox.

you  need some punctuation before `Boris`, `David`, and `Mark` :)

>> If RDF-flag is 1 and RSS-flag is 1, then let the sniffed-type be "application/rss+xml" and abort these steps.

could you change that to: If both RDF-flag and RSS-flag are 1, then ...?

More information about the whatwg mailing list