WebSocket upgrade casing

Two sockets, same server, same page. They differ in one letter of the Connection value in the handshake response.

Opened through:

/ws-upper — Connection: Upgrade

The spelling most servers use. Expected to work everywhere.

    /ws-lower — Connection: upgrade

    What aiohttp (and therefore Home Assistant) sends. Equally valid: RFC 9110 §7.6.1 matches these tokens case-insensitively.

      What reached the server

      If the Upgrade request header is missing here, it was removed in front of the server — a different defect from the one above.

      loading…