Bug 192000 - Revise Content-Type parser
Summary: Revise Content-Type parser
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, WPTImpact
Depends on: 215604
Blocks:
  Show dependency treegraph
 
Reported: 2018-11-27 01:43 PST by Anne van Kesteren
Modified: 2023-10-10 03:46 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anne van Kesteren 2018-11-27 01:43:53 PST
I worked on standardized parsing for the Content-Type header, such that it is more robust against combining intermediaries (i.e., combine first, then parse).

Parsing needed to be standardized as HTTP does not deal with error handling, but browsers do, and were somewhat inconsistent in their handling.

https://github.com/whatwg/fetch/pull/831 has the change to Fetch, https://github.com/web-platform-tests/wpt/pull/10525 has tests.

(Note that this is different from bug 191356, as that only affects CORS.)
Comment 1 Radar WebKit Bug Importer 2019-02-20 17:49:50 PST
<rdar://problem/48259976>