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

Method on_header

httptools/parser/protocol.py:9–9  ·  view source on GitHub ↗
(self, name: bytes, value: bytes)

Source from the content-addressed store, hash-verified

7 def on_message_begin(self) -> None: ...
8 def on_url(self, url: bytes) -> None: ...
9 def on_header(self, name: bytes, value: bytes) -> None: ...
10 def on_headers_complete(self) -> None: ...
11 def on_body(self, body: bytes) -> None: ...
12 def on_message_complete(self) -> None: ...

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected