[Webkit-unassigned] [Bug 175597] XMLHttpequest should do content sniffing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 15 15:48:49 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=175597

--- Comment #4 from Daniel Bates <dbates at webkit.org> ---
WebKit is receiving an HTTP response that is comparable with the response seen using curl. Setting a breakpoint in DocumentThreadableLoader::didReceiveResponse(), <https://trac.webkit.org/browser/trunk/Source/WebCore/loader/DocumentThreadableLoader.cpp?rev=220750#L299> (where we process the XHR response) I see:

(lldb) po response.m_nsResponse.m_ptr
<NSHTTPURLResponse: 0x6180000222c0> { URL: http://s3.amazonaws.com/mozilla-games/ZenGarden/EpicZenGarden.data.gz } { status code: 200, headers {
    "Accept-Ranges" = bytes;
    "Content-Encoding" = gzip;
    "Content-Length" = 90198148;
    "Content-Type" = "application/octet-stream";
    Date = "Tue, 15 Aug 2017 22:44:19 GMT";
    Etag = "\"abd8ecef2479f13cc29e248e294b5330-11\"";
    "Last-Modified" = "Thu, 08 Jun 2017 16:29:01 GMT";
    Server = AmazonS3;
    "x-amz-id-2" = "DoBSu33Sovmsp3CEZKWhkhnQZXGWyq40Yb2h0UjCvUdtVIecMM0iFyCQIlUyA3pZUtdyCIlVzxs=";
    "x-amz-request-id" = 0A63140CDBC51938;
} }

-- 
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/20170815/9f7a5e02/attachment.html>


More information about the webkit-unassigned mailing list