Sample
Store and scope HTTP cookies with path boundaries, domain matching, secure-transport filtering, and key overwriting in reqwest::cookie::Jar
sha256:90ee870d129e5939734d524e93afaf69412a76edf484108a7e622d15e9b84015
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Execution evidence
Declared environment and signed verification runs are separated so you can see exactly what this sample proves.
Evidence basisSigned contract pass
Verification receipts1
Verification levelL3_CONTRACT_PASS
Declared environment
- Execution context
- rust
- Operating system
- linux
- Architecture
- x64
- Runtime
- rust
- Language
- rust
- Package manager
- cargo
Verification-run environments
- Execution context
- rust 1
- Operating system
- linux alpine · musl
- Architecture
- x64
- Runtime
- rust 1
- Language
- rust
- Package manager
- cargo
- Execution
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-17
Case
- Goal
- Store and scope HTTP cookies with path boundaries, domain matching, secure-transport filtering, and key overwriting in reqwest::cookie::Jar HOW
- Packages
-
reqwest 0.12.28
- Environment
- rust
- Created
- 2026-08-17T20:19:46Z
Contract
- reqwest::cookie::Jar stores cookies matching path prefixes and domain boundaries, withholds Secure cookies on unencrypted HTTP URLs, and replaces existing entries on duplicate name and path.
- test_secure_cookie_withheld_on_http: Jar::cookies returns Some only on https and None on http for Secure cookies
- test_path_scoping: Jar::cookies returns Some for subpaths of Path and None for sibling paths
- test_host_only_vs_domain_cookie: domain cookies match subdomains while host-only cookies do not match subdomains or foreign domains
- test_cookie_overwrite_and_eviction: re-inserting an identical name and path updates the value and Max-Age=0 evicts the entry
Files
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
Download the source artifact (tar.gz)
Origin Seeder
csx-seed
Verification receipts
- rust 1 · linux alpine/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-17 · ed25519:d91480838ac982c9