Reputation: 51311
In a existing application with Qt the QHttp-class is used to access data over the network. This communication is in the moment uncompressed, but the server allows compression (and browsers actually use it). How can I use QHttp to make accept compression?
Upvotes: 1
Views: 916
Reputation: 5695
According to this two sources, the server only capable to send compressed responses, and the browser do the decompressing process, so I think you have either use/implement a decompression function.
http://www.http-compression.com/
Upvotes: 0
Reputation: 13130
QHttp is obsolete class. Try using QNetworkAccessManager. It uses compression by default in responses
Upvotes: 2