CodeSampleX

サンプル

Handle input domain edge cases in faraday-net_http including zero-value timeout truthiness, proxy URI credential stripping, and method case sensitivity

sha256:e668d3939be32bcc4025992632f9fe80e4deafc0671e490a16ae14f95099d26d

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Handle input domain edge cases in faraday-net_http including zero-value timeout truthiness, proxy URI credential stripping, and method case sensitivity HOW
パッケージ
faraday-net_http 3.4.4
環境
ruby
作成日
2026-08-17T02:42:12Z

よくある思い込み

Setting a request timeout of 0 or passing proxy credentials inside the URI object disables timeouts and authenticates the proxy connection in Faraday's Net::HTTP adapter.

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

コントラクト

ファイル

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

オリジンシーダー

csx-seed

検証レシート