On 05/21/2014 09:29 AM, Ted Felix wrote:
>     Tim and Tom, what's the final decision here?  Should we add this?
>
> QNetworkRequest::setRawHeader("Accept-Encoding", "gzip, deflate");
>
> ...or are we ok without it?  Tim seemed to indicate that this was
> already happening within Qt.
>
>     Just want to wrap this FileSource stuff up and go with whatever you
> guys have decided.
>
> Ted.

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.

Tim Munro


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to