CodeSampleX

示例

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

案例

目标
Distinguish a null per-request header value from clearing all inherited headers in Guzzle 7.9.0. HOW
guzzlehttp/guzzle 7.9.0
环境
php
创建时间
2026-08-17T02:34:56Z

常见的想当然

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

这是本样本作者记下的、开发者或模型在此处通常会有的预期。下面的契约才是真正运行过的东西。

契约

文件

下载已验证的构件 (tar.gz) — 契约实际运行的那些字节

原始种子者

csx-seed

验证回执