This seems to be finally fixed in the latest Daily/SVN, the data received is transparently uncompressed etc.
HOWEVER, there is a small issue, which isn't readily apparent unless you check received data size etc: If you don't include OverbyteIcsHttpCCodZLib anywhere in your app, it won't be used at all even if you add content encoding in the httpcli object options, so the getcoding/complete calls use the default in OverbyteIcsHttpContCod instead and gzip isn't really used. On Mon, Oct 8, 2012 at 10:50 AM, Angus Robertson - Magenta Systems Ltd < an...@magsys.co.uk> wrote: > > Tested with this website http://myanimelist.net/malappinfo.php >> > >> > If I enable content encoding, then the data received isn't >> > compressed unless I add deflate. >> >> Whether the site compresses the data is not the issue, it's whether the >> ICS component can decompress anything with the change you proposed. And >> my testing shows not. >> >> I suspect I know the reason, if a compression type of 'gzip, deflate' is >> added, it expects exactly that string to be returned, the component does >> not parse the separate words. >> >> Your test site also does not use deflate, testing with the ICS browser >> demo gives: >> >>  > GET /malappinfo.php HTTP/1.1 >>  > Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* >>  > Connection: Keep-Alive >>  > Accept-Encoding: gzip, deflate >> >>  < HTTP/1.1 200 OK >>  < Date: Mon, 08 Oct 2012 08:41:14 GMT >>  < Server: Apache/2 >>  < X-Powered-By: PHP/5.1.6 >>  < Vary: Accept-Encoding >>  < Content-Encoding: gzip >>  < X-Served-By: app2v-mal.ao.prd.lax >>  < Content-Length: 76 >> >> so it returns gzip not deflate, and ICS fails to decode the XML. >> >> Angus >> >> >> -- >> To unsubscribe or change your settings for TWSocket mailing list >> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket >> Visit our website at http://www.overbyte.be >> > > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be