WebSocket

1010 Mandatory Extension

The client is terminating the connection because the server did not negotiate one or more expected extensions in the handshake response.

Quand vous voyez ce code

The client requested a required WebSocket extension (e.g., permessage-deflate compression) during the handshake, but the server did not include it in its response.

Comment résoudre

Enable the required extension on the server, or update the client to make the extension optional. Check the Sec-WebSocket-Extensions header in the handshake response.

Spécification

Voir RFC / Spécification →

Guides

Glossaire