turbo
turbo copied to clipboard
HTTPClient gzip support
According to the docs, httpdclient should support gzip data:
use_gzip - Use gzip compression. Default is true.
I am hosting a few larger json files which are gzipped, and while they open correctly in the browser (after making some changes to my lighttpd config) these files are fetched by httpclient, but the resulting body is still gzipped json.
Am I doing something wrong here?
Its not supported, but the option is there. Sorry. Its pretty simple to implement though...
no problem, I'm currently using lua zlib to do the decompression.
I am also interested in client gzip support as turbolua here uploads some bigger json which could be compressed very well.