CodeSampleX

Sample

Manage Rack::Test type serialization boundaries across JSON Hash payloads, query parameter type coercion, multipart symbol keys, and CookieJar security scopes

sha256:5fe3699ec9450e25104ae03ae89602c44a28ffdbdf87748819f7f3de86bdc4bc

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Manage Rack::Test type serialization boundaries across JSON Hash payloads, query parameter type coercion, multipart symbol keys, and CookieJar security scopes HOW
Packages
rack-test 2.2.0 rack 3.2.7
Environment
ruby
Created
2026-08-17T02:45:45Z

Commonly assumed

Passing a Hash payload to Rack::Test request methods with a JSON Content-Type header automatically serializes the body as JSON.

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