Update MIME type parser

Issue #14995014 • Assigned to Divya G.

Details

Author
Anne v.
Created
Dec 7, 2017
Privacy
This issue is public.
Standard affected
MIME Sniffing Standard

Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

I’ve filed a couple other bugs on more specific changes you might want to make sooner, but overall I think you want to change you parser more significantly to align with

https://mimesniff.spec.whatwg.org/#parsing-a-mime-type

Ideally it’s reusable so it can be used for implementing various JavaScript APIs.

https://github.com/w3c/web-platform-tests/pull/7764 has tests.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “Divya G.”

    • Note that https://github.com/whatwg/mimesniff/pull/79 proposes to make a small tweak to the parser and serializer. Let me know if you’d prefer a separate bug.

    You need to sign in to your Microsoft account to add a comment.

    Sign in