Может ли websocket поддерживать сжатие gzip?

После успешного рукопожатия WebSocket, мы могли бы использовать сжатие gzip?

Вот мои тесты:

I use autobahn lib to build a server, then respon to client as:
HTTP/1.1 101 Switching Protocols content-encoding: gzip Connection: Upgrade Server: AutobahnPython/?.?.? Upgrade: WebSocket Sec-WebSocket-Accept: RIR8KmljoV8Cv9mdiLY7GM2nYMc= then my server uses gzip compression and the chrome browser got the result, but it told me that "could not decode a text frame as UTF-8"

Ответы на вопрос(3)

Ваш ответ на вопрос