We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6f470e commit 0c08b7cCopy full SHA for 0c08b7c
h11/_state.py
@@ -283,9 +283,7 @@ def process_event(
283
assert role is SERVER
284
if server_switch_event not in self.pending_switch_proposals:
285
raise LocalProtocolError(
286
- "Received server {} event without a pending proposal".format(
287
- server_switch_event
288
- )
+ "Received server _SWITCH_UPGRADE event without a pending proposal"
289
)
290
_event_type = (event_type, server_switch_event)
291
if server_switch_event is None and _event_type is Response:
0 commit comments