codesamplex

サンプル

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

sha256:1d9052aa3497cf987a30d943e2b7183d697b56cc1251f34cd5e462b4aacea0ae

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Manage Guzzle sink stream persistence across intermediate redirects, error response streaming, and on_headers lifecycle aborts HOW
パッケージ
guzzlehttp/guzzle 8.0.2
環境
php
作成日
2026-08-16T12:45:15Z

よくある思い込み

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

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート