h11

JSON →
library 0.16.0 ·python
verified Jun 9, 2026 install

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.

total hits 30
actors 6 distinct systems
last hit 4d ago Googlebot
MetaBot
5
Script
2
ByteDance
2
Search engines
4
Humans
14

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇩🇪 Germany · VN · BD