RESOLVED FIXED179487
FetchResponse should set the mime type of its internal ResourceResponse
https://bugs.webkit.org/show_bug.cgi?id=179487
Summary FetchResponse should set the mime type of its internal ResourceResponse
youenn fablet
Reported 2017-11-09 09:17:09 PST
This mime type is used for navigation tasks. If going through Service Worker, the mime type would not be set now.
Attachments
Patch (1.88 KB, patch)
2017-11-09 09:26 PST, youenn fablet
no flags
Patch (3.42 KB, patch)
2017-11-09 09:36 PST, youenn fablet
no flags
Patch (1.91 KB, patch)
2017-11-09 12:30 PST, youenn fablet
no flags
youenn fablet
Comment 1 2017-11-09 09:26:21 PST
youenn fablet
Comment 2 2017-11-09 09:36:58 PST
Chris Dumez
Comment 3 2017-11-09 10:50:25 PST
Comment on attachment 326459 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=326459&action=review > Source/WebCore/platform/network/ResourceResponseBase.h:82 > + void sniffMimeTypeIfNeeded(const String& contentType); Not a fan of having a sniffing method on the resourceResponse itself.
youenn fablet
Comment 4 2017-11-09 12:30:38 PST
WebKit Commit Bot
Comment 5 2017-11-09 13:09:27 PST
Comment on attachment 326478 [details] Patch Clearing flags on attachment: 326478 Committed r224645: <https://trac.webkit.org/changeset/224645>
WebKit Commit Bot
Comment 6 2017-11-09 13:09:29 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7 2017-11-15 09:38:09 PST
Note You need to log in before you can comment on or make changes to this bug.