w3c / FileAPI

File API
https://w3c.github.io/FileAPI/
Other
104 stars 44 forks source link

Editorial: Remove any references to "parsable MIME type" #172

Open andreubotella opened 3 years ago

andreubotella commented 3 years ago

The term "parsable MIME type" used to be part of the MIME Sniffing standard, but it was removed in whatwg/mimesniff#36. This change replaces its uses with equivalent phrasing that references the "parse a MIME type" algorithm. It also replaces mentions of "ASCII-encoded strings" with the Infra standard's definition of "ASCII string".

Closes #170.

For normative changes, the following tasks have been completed:

Implementation commitment:


Preview | Diff

annevk commented 3 years ago

You pointed out that MIME types aren't necessarily ASCII so presumably we shouldn't say that here either? Or is it (still?) incorrectly stripping parameters?

andreubotella commented 3 years ago

The rest of the spec currently limits MIME types to printable ASCII, and fixing that would not be an editorial change. Although given that many of the cases of "ASCII-encoded string" would be changed to something else when fixing #43, changing them to refer to Infra's definition wasn't really needed.

As far as I can tell, MIME type parameters aren't being skipped anywhere.

w3cbot commented 3 years ago

andreubotella marked as non substantive for IPR from ash-nazg.