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

Method on_url

tests/test_parser.py:424–425  ·  view source on GitHub ↗
(self, url)

Source from the content-addressed store, hash-verified

422 self.parser = httptools.HttpRequestParser(self)
423
424 def on_url(self, url):
425 assert self.parser.should_upgrade() is False
426
427 def on_headers_complete(self):
428 assert self.parser.should_upgrade() is True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected