Bug 255922

Summary: ParsedContentType and parseMIMEType should probably be consolidated
Product: WebKit Reporter: Anne van Kesteren <annevk>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: rbuis, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 255921    
Bug Blocks:    

Anne van Kesteren
Reported 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?
Attachments
Radar WebKit Bug Importer
Comment 1 2023-05-02 07:25:18 PDT
Note You need to log in before you can comment on or make changes to this bug.