From: Ted F. <te...@te...> - 2014-05-22 11:16:52
|
On 05/22/2014 03:58 AM, Tim Munro wrote: > NetworkAccessManager already automatically provides the header > "Accept-Encoding: gzip, deflate," so adding > QNetworkRequest::setRawHeader("Accept-Encoding", "gzip, deflate") to > the code in no way changes what the server sees. > > It does, however, seem to be the switch that prevents > QNetworkAccessManager from unzipping files, so I'd say include it. I get it now. Ok, I'll do some testing and see if my server reproduces the problem. Then I'll add that and see if I can come up with some further test cases to make sure it's working with all file types. E.g. importing a MIDI file would be good, if it can be done. Ted. |