CodeSampleX

Sample

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

Case

Goal
Handle input domain edge cases in faraday-net_http including zero-value timeout truthiness, proxy URI credential stripping, and method case sensitivity HOW
Packages
faraday-net_http 3.4.4
Environment
ruby
Created
2026-08-17T02:42:12Z

Commonly assumed

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.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts