frontend
frontend copied to clipboard
Safari: Collaborative session does not work
Description
When a safari client tries to join a collaborative session, the following browser error is reported:
Failed to load resource: cannot parse response
The expected response contains a "Document Exists" body along with some headers (Connection, Upgrade) for subsequent wss connection.
Possible reason
- Request uses
http2protocol - https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection
Warning: Connection-specific header fields such as Connection and Keep-Alive are prohibited in HTTP/2 and HTTP/3. Chrome and Firefox ignore them in HTTP/2 responses, but Safari conforms to the HTTP/2 spec requirements and does not load any response that contains them.