Hi,
Just wanted to know how to decode the deflated http response with
Content-Encoding: gzip
Is there any possibilities of installing HTTP filters which does this job?
Regards
Prashanth
Hi,
Just wanted to know how to decode the deflated http response with
Content-Encoding: gzip
Is there any possibilities of installing HTTP filters which does this job?
Regards
Prashanth
I'm not 100% sure but have you tried http://doc.trolltech.com/4.4/qbytear...ml#qUncompress
I think it can be used to uncompress QHTTPResponseHeaders which have been content-encoded/compressed.
prashanth.gedde (16th July 2008)
I generally decided the problem with commenting the next line during the forming of the HTTP Header for the http->request(...):
Qt Code:
//header->setValue("Accept-Encoding", "gzip,deflate");To copy to clipboard, switch view to plain text mode
That way the webserver "knows" not to send compressed htmls.
Bookmarks