Django channels handshake headers are ignored

2020-06-17 Thread Albertas Gimbutas
Hi, I want to add WebSocket extension support to my Django channels consumer class. As I know a list of accepted extensions should be included in the headers of the handshake response of the consumer. I tried adding the response headers, however browser does not get them. I am not sure whethe

Django channels handshake response headers are missing

2020-06-17 Thread Albertas Gimbutas
Hi, I am trying to add WebSocket `permessage-deflate` extension support to my django channels consumer. As I know if a WebSocket server supports an extension (which was provided in the request headers), the server has to include the extension headers in the handshake response. Which I was not