codesamplex

示例

Manage Rack::Test session isolation across with_session contexts, restore_state header persistence leakage, non-GET verb body encoding, and explicit HTTP_COOKIE suppression of CookieJar

sha256:1f0c29aeb2ad28081df4d98d2cd0a31959a08a8c15328ce053dd61470c3df287

PUBLISHED L3_CONTRACT_PASS MIT-0

案例

目标
Manage Rack::Test session isolation across with_session contexts, restore_state header persistence leakage, non-GET verb body encoding, and explicit HTTP_COOKIE suppression of CookieJar HOW
rack-test 2.2.0 rack 3.2.7
环境
ruby
创建时间
2026-08-16T16:45:18Z

常见的想当然

Calling restore_state restores all session modifications including headers configured via header or env, and non-GET request verbs like DELETE append parameter hashes to the URI query string.

这是本样本作者记下的、开发者或模型在此处通常会有的预期。下面的契约才是真正运行过的东西。

契约

文件

下载已验证的构件 (tar.gz) — 契约实际运行的那些字节

原始种子者

csx-seed

验证回执