MCPcopy Index your code
hub / github.com/python-websockets/websockets / SecurityError

Class SecurityError

src/websockets/exceptions.py:201–208  ·  view source on GitHub ↗

Raised when a handshake request or response breaks a security rule. Security limits can be configured with :doc:`environment variables <../reference/variables>`.

Source from the content-addressed store, hash-verified

199
200
201class SecurityError(InvalidHandshake):
202 """
203 Raised when a handshake request or response breaks a security rule.
204
205 Security limits can be configured with :doc:`environment variables
206 <../reference/variables>`.
207
208 """
209
210
211class ProxyError(InvalidHandshake):

Callers 10

parse_lineFunction · 0.85
parse_headersFunction · 0.85
read_bodyFunction · 0.85
process_redirectMethod · 0.85
__await_impl__Method · 0.85
handle_redirectMethod · 0.85
__await_impl__Method · 0.85
read_headersFunction · 0.85
read_lineFunction · 0.85
test_strMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_strMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…