Bug 255922 - ParsedContentType and parseMIMEType should probably be consolidated
Summary: ParsedContentType and parseMIMEType should probably be consolidated
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
Depends on: 255921
Blocks:
  Show dependency treegraph
 
Reported: 2023-04-25 07:24 PDT by Anne van Kesteren
Modified: 2023-05-02 07:25 PDT (History)
3 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 2023-04-25 07:24:20 PDT
I don't quite understand why we Source/WebCore/platform/network/ParsedContentType.cpp as well as the logic in Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp. The former also doesn't appear to fully implement https://fetch.spec.whatwg.org/#content-type-header and might instead be a MIME type parser as well, suggesting we have two implementations of the same thing?

Youenn, thoughts?
Comment 1 Radar WebKit Bug Importer 2023-05-02 07:25:18 PDT
<rdar://problem/108788047>