[Webkit-unassigned] [Bug 115353] New: Add support to disable "Accept-Encoding:" HTTP header on soup ResourceRequest
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 29 07:51:15 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=115353
Summary: Add support to disable "Accept-Encoding:" HTTP header
on soup ResourceRequest
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: andrunko at gmail.com
If ResourceRequest::setAcceptEncoding(false) is called we make sure the "Accept-Encoding:" header is not added to the soup message, as this could lead to issues where for example the server sends compressed data and the Content-Length (ResourceResponse::expectedContentLength()) is the size of the compressed data, but the data received in ResourceHandle::didReceiveData() is uncompressed (done by SoupContentDecoder), so the data received has a different size from what is actually reported.
This is especially needed by the webkit gstreamer source element which needs to rely on the correct data size to download streams.
The default value of ResourceRequest::acceptEncoding() is true to keep backwards compatibility.
Patch to follow.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list