Re: [Interest] Does QNetworkAccessManager 4.8.1 handle compressed output from an Apache server?

2012-08-22 Thread Tony Rietwyk
Answering my own question...  Yes QNAM handles receiving compressed
responses no problem.  

Would still be nice to know how to enable it for sending compressed
requests?  

Tony. 


 -Original Message-
 From: interest-bounces+tony=rightsoft.com...@qt-project.org
 [mailto:interest-bounces+tony=rightsoft.com...@qt-project.org] On Behalf
 Of Tony Rietwyk
 Sent: Wednesday, 22 August 2012 4:03 PM
 To: interest@qt-project.org
 Subject: [Interest] Does QNetworkAccessManager 4.8.1 handle compressed
 output from an Apache server?
 
 Hi Everybody,
 
 My application talks to an Apache server to send and receive xml data.
 Most of the request xmls are small.  The response xmls can vary up to
10Mb.
 It has been suggested to use
 http://httpd.apache.org/docs/2.2/mod/mod_deflate.html to compress the
 responses.  Will QNAM handle this?  Note that the requests use https:
 protocol.
 
 Thanks!
 
 Tony
 
 
 ___
 Interest mailing list
 Interest@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/interest

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Does QNetworkAccessManager 4.8.1 handle compressed output from an Apache server?

2012-08-22 Thread Thiago Macieira
On quarta-feira, 22 de agosto de 2012 16.53.26, Tony Rietwyk wrote:
 Would still be nice to know how to enable it for sending compressed
 requests?

You need to compress yourself and set the appropriate Content-Transport-
Encoding headers.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
 Intel Sweden AB - Registration Number: 556189-6027
 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden


signature.asc
Description: This is a digitally signed message part.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest