示例
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
案例
- 目标
- Extract Set-Cookie headers as an array from AxiosHeaders even when only a single cookie is set HOW
- 包
- axios 1.19.0
- 环境
- node
- 创建时间
- 2026-08-16T06:44:11Z
契约
- 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
文件
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
下载已验证的构件 (tar.gz) — 契约实际运行的那些字节
原始种子者
验证回执
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9