Skip to content

blackbull.fault_injection.h1_server

blackbull.fault_injection.h1_server

Deliberately malformed HTTP/1.1 server.

Assemble output independently of production senders. Production mode is refused; non-loopback binds require allow_remote=True.

H1FaultServer

Bases: _FaultServer

Serves one ScenarioH1Server to each connecting client.

H1FaultServerError

Bases: RuntimeError

Raised when the fault server refuses to run.