w3c / FileAPI

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

Consider dropping lowercasing requirement for the type attribute #122

Closed wisniewskit closed 4 years ago

wisniewskit commented 5 years ago

While working on Gecko's Fetch compliance, I noted that there are web platform tests which do not expect blob types to be lowercased. @annevk suggested that dropping the lowercasing requirement might be an option, so I'm filing a bug to verify that option.

annevk commented 5 years ago

To elaborate a tiny bit, parse a MIME type already lowercases the type, subtype, and parameter names, but lowercasing parameter values technically makes us lose information, so shouldn't be done.

annevk commented 5 years ago

This will probably fall out of #123.

annevk commented 4 years ago

Let's duplicate this into #43.