CodeSampleX

Sample

Distinguish a null per-request header value from clearing all inherited headers in Guzzle 7.9.0.

sha256:e99720d321ab01e65d4356739c5384c92a7bd703593fa53533187be0adfde72a

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Distinguish a null per-request header value from clearing all inherited headers in Guzzle 7.9.0. HOW
Packages
guzzlehttp/guzzle 7.9.0
Environment
php
Created
2026-08-17T02:34:56Z

Commonly assumed

A null value for one per-request header removes that inherited header exactly like setting the entire headers option to null.

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