Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-websockets/websockets
/ parse_headers
Method
parse_headers
tests/test_http11.py:399–400 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
397
self.reader = StreamReader()
398
399
def
parse_headers(self):
400
return
parse_headers(self.reader.read_line)
401
402
def
test_parse_invalid_name(self):
403
self.reader.feed_data(b
"foo bar: baz qux\r\n\r\n"
)
Callers
5
test_parse_invalid_name
Method · 0.95
test_parse_invalid_value
Method · 0.95
test_parse_too_long_value
Method · 0.95
test_parse_too_long_line
Method · 0.95
test_parse_invalid_line_ending
Method · 0.95
Calls
1
parse_headers
Function · 0.90
Tested by
no test coverage detected