diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2011-05-04 17:27:36 +0100 |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2011-05-09 13:16:13 +0200 |
commit | e01faeb5c7308662c7d727a55ff5c54e23244716 (patch) | |
tree | 3f49f50d3a3efad1a173d4f29bd59af6ea153f09 /src/network/access/qhttpnetworkconnection_p.h | |
parent | 724671feca39e6eebaf4d8005bb89d5c14e96386 (diff) |
Send User-Agent from the network request in http proxy CONNECT command
Some proxies can discriminate based on the User-Agent when sent a
CONNECT command for establishing a HTTPS connection.
With this change, if the User-Agent header is set in the QNetworkRequest
then it will be passed to the http socket engine for use in the connect
command sent to the proxy.
As before, "Mozilla/5.0" will be used by default when no user agent
has been set.
Task-number: QTBUG-17223
Reviewed-by: Markus Goetz
Diffstat (limited to 'src/network/access/qhttpnetworkconnection_p.h')
0 files changed, 0 insertions, 0 deletions