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

Provide header in QWebSocket

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.11.0
    • WebSockets
    • None

    Description

      If a http request is upgraded to a websocket we cannot fetch http headers as qwebsocket does not provide any API. It would be great if we could get the User-Agent header from handshake-request.

      Maybe this should be quit easy as QWebSocket already has a m_headers members.

      https://code.qt.io/cgit/qt/qtwebsockets.git/tree/src/websockets/qwebsocket_p.h?h=dev#n247

      Attachments

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

        Activity

          People

            manordheim Mårten Nordheim
            misery André Klitzing
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes