We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7ff47b commit 83bd239Copy full SHA for 83bd239
CHANGES/8747.misc.rst
@@ -0,0 +1 @@
1
+8736.misc.rst
aiohttp/http_websocket.py
@@ -94,10 +94,12 @@ class WSMsgType(IntEnum):
94
error = ERROR
95
96
97
-MESSAGE_TYPES_WITH_CONTENT: Final = (
98
- WSMsgType.BINARY,
99
- WSMsgType.TEXT,
100
- WSMsgType.CONTINUATION,
+MESSAGE_TYPES_WITH_CONTENT: Final = frozenset(
+ {
+ WSMsgType.BINARY,
+ WSMsgType.TEXT,
101
+ WSMsgType.CONTINUATION,
102
+ }
103
)
104
105
WS_KEY: Final[bytes] = b"258EAFA5-E914-47DA-95CA-C5AB0DC85B11"
0 commit comments