CodeSampleX

Sample

Demonstrate that Faraday's Net::HTTP adapter does not forward hostname verification unless requested.

sha256:a79deb9bff81a08d9165451d3a1aa27e3240ba68a577375e22c56938147a80d8

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Demonstrate that Faraday's Net::HTTP adapter does not forward hostname verification unless requested. HOW
Packages
faraday-net_http 3.4.4 faraday 2.14.3
Environment
ruby
Created
2026-08-17T01:15:21Z

Commonly assumed

Setting `ssl.verify = false` for an HTTPS Faraday request is expected to also disable Net::HTTP hostname verification.

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