codesamplex

Sample

Prove that net/http mutates a gzip response at the client boundary instead of preserving raw transfer shape.

sha256:78e4711f9d506993f466ebedaae4f1c6636c420b765ce7576ba6a2b5a239991f

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Prove that net/http mutates a gzip response at the client boundary instead of preserving raw transfer shape. HOW
Packages
net/http go1.26.5
Environment
go
Created
2026-08-16T13:09:01Z

Commonly assumed

A caller using a default http.Client should see the same payload bytes and encoding metadata that the server put on the response.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts