Sample
Extract Set-Cookie headers as an array from AxiosHeaders even when only a single cookie is set
sha256:d38fe1c9ccccb6ffc64039c8145f7b10b8b9e7a3ea2eed95ae323f27f82791e3
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Case
- Goal
- Extract Set-Cookie headers as an array from AxiosHeaders even when only a single cookie is set HOW
- Packages
- axios 1.19.0
- Environment
- node
- Created
- 2026-08-16T06:44:11Z
Contract
- AxiosHeaders#getSetCookie() returns an Array when a single Set-Cookie header is configured
- AxiosHeaders#getSetCookie() supports Array prototype methods such as map() without throwing TypeError
- AxiosHeaders#getSetCookie() returns an empty Array when no Set-Cookie header is present
- AxiosHeaders#getSetCookie() returns an Array containing all cookies when multiple Set-Cookie headers are set
Files
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Download the verified artifact (tar.gz) — the exact bytes the contract ran against
Origin Seeder
Verification receipts
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9