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

验证回执