[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 4 01:36:41 PDT 2022


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

--- Comment #6 from jujjyl at gmail.com ---
Of note is that while the test case uses an "exotic" emrun.py ad hoc web server, the issue is met in the wild by a lot of Unity game developers. The best practices documentation at Unity at https://docs.unity3d.com/Manual/webgl-server-configuration-code-samples.html currently recommends that Unity game asset data files, which have a filename structure

file.data.gz

should be served with headers

Content-Type: application/octet-stream
Content-Encoding: gzip

so game developers who follow this best practices guidance (which does read reasonable) will be affected if they want to run their gzipped Unity game builds on Safari.

Of interest is also how Safari behaves if content is compressed with Brotli instead of gzip. Attaching a variant of the same test that is set up to utilize Brotli compression instead.

-- 
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/20221104/dbe901ea/attachment.htm>


More information about the webkit-unassigned mailing list