codesamplex

Sample

Manage Guzzle sink stream persistence across intermediate redirects, error response streaming, and on_headers lifecycle aborts

sha256:1d9052aa3497cf987a30d943e2b7183d697b56cc1251f34cd5e462b4aacea0ae

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Manage Guzzle sink stream persistence across intermediate redirects, error response streaming, and on_headers lifecycle aborts HOW
Packages
guzzlehttp/guzzle 8.0.2
Environment
php
Created
2026-08-16T12:45:15Z

Commonly assumed

Passing a stream or resource sink to a request that follows redirects writes only the final destination response body into the sink.

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