MCPcopy
hub / github.com/pallets/werkzeug / WebsocketMismatch

Class WebsocketMismatch

src/werkzeug/routing/exceptions.py:141–144  ·  view source on GitHub ↗

The only matched rule is either a WebSocket and the request is HTTP, or the rule is HTTP and the request is a WebSocket.

Source from the content-addressed store, hash-verified

139
140
141class WebsocketMismatch(BadRequest):
142 """The only matched rule is either a WebSocket and the request is
143 HTTP, or the rule is HTTP and the request is a WebSocket.
144 """
145
146
147class NoMatch(Exception):

Callers 1

matchMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected