Does Titaniums XHR natively support GZIP compression? Is there anything special I need to do?
XHR has a default Accept-Encoding=gzip under iphone 4.3 emulator. It works, receives gzip encoded data (provided that the server supports it) and retrieves it on xhr.responseText and also on xhr.responseXml if the answer is a well formed xml document.
On android though, xhr doesn't decompress the gzip encoded data and xhr.responseText and xhr.responseXml both return null.
Does anybody know if appcelerator plans to support gzip http encoding on android too?
looks like it does, see code on github ASI/ASIHTTPRequest.m#L493