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

検証レシート