Hello!
I'm using UnityWebRequest.Get to pull gzipped assets.
Whether or not I add request.SetRequestHeader("Accept-Encoding", "gzip") to my request, I notice that I get accept-encoding gzip in the response headers. However, the download size is the uncompressed size.
What's going on here?
This link seems to say we shouldn't be setting accept-encoding headers?
https://docs.unity3d.com/ScriptReference/Networking.UnityWebRequest.SetRequestHeader.html
- Jed
↧