[Webkit-unassigned] [Bug 247421] Content downloaded with fetch() API when Concent-Encoding: gzip is set is not decompressed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 11 08:48:40 PST 2022


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

--- Comment #13 from Ryan Reno <rreno at apple.com> ---
I think we're creating our NetworkLoadParameters with a flipped boolean for requesting to opt-in to the CFNetwork behavior we want. In other words, we're not asking CFNetwork to do decompression when requesting gzipped resources.

I was able to fix the issue by setting the appropriate CFNetwork parameter in NetworkDataTaskCocoa::applySniffingPoliciesAndBindRequestToInferfaceIfNeeded

A better solution is probably to set the NetworkLoadParameters field appropriately based on the request we're making.

-- 
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/20221111/cc727b88/attachment-0001.htm>


More information about the webkit-unassigned mailing list