Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
MIME type parsing, duplicate parameters #41
I thought I had already raised this, but
When there's duplicate headers there seems to be some preference to let the first header win; unclear what should apply here. My tendency would be to go with Edge and Safari as they have that kind of behavior and in practice it's easier to get Chrome and Firefox to align.
There's also a data model question here. Should MIME types support duplicate parameters (multimap of sorts) or is treating them as a normal map fine?
and some modules in Chrome (e.g., SendBeacon) handle it as not valid.
Filed https://bugs.chromium.org/p/chromium/issues/detail?id=788491 and https://bugzilla.mozilla.org/show_bug.cgi?id=1420575. This is also covered by tests linked from #42.