Quantcast
Channel: Questions in topic: "webrequest"
Viewing all articles
Browse latest Browse all 387

GZIP compression in Unity

$
0
0
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

Viewing all articles
Browse latest Browse all 387

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>