CodeSampleX

示例

Prove that Faraday does not close caller-owned request streams after a completed POST.

sha256:120b78f41cb0cacae1b41bc79e9fdf64f352cb794bd70e368b81ef4dedd6a0ed

PUBLISHED L3_CONTRACT_PASS MIT-0

案例

目标
Prove that Faraday does not close caller-owned request streams after a completed POST. HOW
faraday 2.14.3 faraday-net_http 3.4.4
环境
ruby
创建时间
2026-08-17T02:40:08Z

常见的想当然

A well-formed Faraday POST using an IO request body is expected to close that IO for the caller automatically.

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

契约

文件

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

原始种子者

csx-seed

验证回执