Details
-
Suggestion
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.11.0
-
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