Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-16253

hardcoding of User-Agent value in the header when sending a HTTP CONNECT packet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.7.1
    • None
    • Symbian Wk 50, Windows XP

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            earthdomain Earth Domain (Inactive)
            baluvaranasi BalaSubrahmanyam Varanasi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes