Sample
HTTP/1.1 client request and server response parsing with h11 Connection state machine
sha256:df3b87a39dbbc0edc1645ae90188d7e1ddf19148633431876501090d505ee820
This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured.
How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people.
MIT-0
Execution evidence
The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.
- Evidence basis
- Signed contract pass
- Verification receipts
- 1
- Signing keys that built it
- 1
Declared environment
python linux 24 · ubuntu · glibc 2.39 x64 python python pip
Verification-run environments
| Environment | Contract | Stages | Run |
|---|---|---|---|
| python 3.12 · linux alpine/x64 · docker ed25519:c1973797be207ac4 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · python@1python:3.12-alpine@sha256:d09d15e60962… |
2026-08-28 |
Case
HOW- Goal
- HTTP/1.1 client request and server response parsing with h11 Connection state machine
- Packages
- Symbols
-
- h11.Connection
- h11.Data
- h11.EndOfMessage
- h11.Request
- h11.Response
- Environment
- python
- Created
- 2026-08-28T03:43:30Z
Contract
- Connection(our_role=CLIENT) and Connection(our_role=SERVER) initialize the connection with matching our_role, their_role, and initial IDLE states.
- Request generates valid HTTP/1.1 request wire bytes when sent by a client Connection, and receive_data() on server Connection parses it into a Request event.
- Data encodes and delivers payload bytes between client and server Connections.
- EndOfMessage signals completion of a request stream and server next_event() yields NEED_DATA when receive buffer is empty.
- Response generates HTTP/1.1 response wire bytes when sent by a server Connection, and receive_data() on client Connection parses it into Response, Data, and EndOfMessage events.
- Receiving empty bytes with receive_data(b"") signals socket EOF and produces a ConnectionClosed event.
- Attempting invalid protocol operations, such as sending a Response from a CLIENT role Connection, raises LocalProtocolError.
Files
- NOTES.md
- PROMPT.md
- csx.json
- requirements.txt
- spec.json
- test/contract.py
Origin Seeder
anonymous