If the cookie is empty, i think it's not necessary to use the cookie header.
This can cause a bug when the websocket Server are using the QT API,the connenction can not be established.
I didn't check the rfc about the cookie , maybe some websocket server are compatible of empty cookie.
If the cookie is empty, i think it's not necessary to use the cookie header. This can cause a bug when the websocket Server are using the QT API,the connenction can not be established. I didn't check the rfc about the cookie , maybe some websocket server are compatible of empty cookie.