- Home /
This question was
closed May 09, 2017 at 05:39 AM by
melefans for the following reason:
sloved
Unity WWW gzip
I use www to download the file, the code is as follows。
WWW www = new WWW (url, null, new Dictionary(){ {"Accept-Encoding","gzip,deflate"} });
Server nginx open gzip rules, when I am in the mac and ios platform, I received the www.bytes do not need to uncompress, but in the android platform I need to uncompress www.bytes,I did not find the documentation,Can someone help me?
Comment
Answer by melefans · May 09, 2017 at 06:15 AM
i have to solve this problem, I do not need to add header in www, www will be in the ios android platform automatically extract。