[Webkit-unassigned] [Bug 189465] XMLHttpRequest: overrideMimeType should not update the response's "Content-Type" header
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Sep 9 23:40:28 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=189465
Frédéric Wang (:fredw) <fred.wang at free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fred.wang at free.fr
Attachment #349291|review? |review+, commit-queue-
Flags| |
--- Comment #3 from Frédéric Wang (:fredw) <fred.wang at free.fr> ---
Comment on attachment 349291
--> https://bugs.webkit.org/attachment.cgi?id=349291
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=349291&action=review
> Source/WebCore/ChangeLog:9
> + response's "Content-Type" header anymore.
Are you able to provide a link to a spec change (github issue or something) showing that change?
> Source/WebCore/xml/XMLHttpRequest.cpp:-969
> - m_response.setHTTPHeaderField(HTTPHeaderName::ContentType, m_mimeTypeOverride);
Can you please also remove the FIXME comment from XMLHttpRequest::didReceiveData? (I guess setting the m_responseEncoding from m_mimeTypeOverride is still valid, right?).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180910/d6c78869/attachment-0001.html>
More information about the webkit-unassigned
mailing list