h11
JSON →h11 is a pure-Python, bring-your-own-I/O implementation of HTTP/1.1, heavily inspired by hyper-h2. It contains no networking code whatsoever — you supply the bytes in and out — making it usable with any I/O model: synchronous, threaded, asyncio, trio, or custom. It models the HTTP exchange as a strict state machine emitting typed event objects (Request, Response, Data, EndOfMessage, etc.) and enforces spec conformance on both incoming and outgoing messages. Current version is 0.16.0, released in 2025 as a security fix; releases are infrequent and focused on correctness. It has no dependencies outside the Python standard library.
Traffic · last 30 days ↑0% vs prev 7d
total hits 30
actors 6 distinct systems
last hit 4d ago Googlebot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇩🇪 Germany · VN · BD
API endpoints
full doc /v1/registry/h11
install /v1/registry/h11/install
compatibility /v1/registry/h11/compatibility