On Monday 10 November 2008 13:08:37 Mark Korondi wrote: > Now the big question: If my brainstorm is good, how to get Qt > (QApplication, QNetworkProxy, whatever) to use that GET method, and > don't try to CONNECT?
Don't call QNetworkProxy::setApplicationProxy.
Instead, set the proxy in QNetworkAccessManager.
The difference is subtle but significant: if you set the global proxy, it's
set for everything, including QTcpSocket. And, at that level, it doesn't know
it can do a "GET". So you end up with a request your proxy server will reject.
--
Thiago Macieira - thiago.macieira (AT) nokia.com
Senior Software Engineer - Nokia, Qt Software
Qt Software is hiring - ask me
Sandakerveien 116, NO-0402 Oslo, Norway
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
