Details
-
Task
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
-
Every OS
-
4cffc72023876645f3973823cdfd204094ebe097
Description
I have a QTcpSocket (or QSslSocket) and I set a proxy with "setProxy".
So the program automatically send a request to the proxy before the data in the buffer.
The request is like that:
CONNECT x.x.x.x:y HTTP/1.1
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0
Host: x.x.x.x
But it's not possible to change the headers like User-Agent.
It is possible using QNetworkRequest but I need to use QSslSocket !