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

Provide header in QWebSocket

XMLWordPrintable

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

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes