Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
4.7.1
-
None
-
Symbian Wk 50, Windows XP
Description
Hi,
We found that QT is hard coding the User-Agent value to "User-Agent: Mozilla/5.0" in the header when sending a HTTP CONNECT packet automatically. This can be found from the source code of "Qhttpsocketengine.cpp" and "QHttpNetworkConnection.cpp" files. The HTTP CONNECT packet automatically setting its own custom headers. We require these headers to be the same as the http/ssl packets's headers that we are constructing. We feels that the User-Agent value in the header should not be hardcoded and should take the value set by the application.
Please check this issue and give us a fix on this.
Thanks in Advance.
Regards,
BalaSubrahmanyam Varanasi
Attachments
Issue Links
- relates to
-
QTBUG-9463 QNetworkRequest: Be able to unset some of the optional header entries
-
- Open
-
- resulted in
-
QTBUG-17223 Use the same "user-agent" header for the proxy as for the actual HTTP/HTTPS request
-
- Closed
-