MCPcopy Index your code
hub / github.com/MagicStack/httptools / on_headers_complete

Method on_headers_complete

tests/test_parser.py:427–428  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

425 assert self.parser.should_upgrade() is False
426
427 def on_headers_complete(self):
428 assert self.parser.should_upgrade() is True
429
430 def on_message_complete(self):
431 assert self.parser.should_upgrade() is True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected