Ejemplo
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
Caso
- Objetivo
- Extract Set-Cookie headers as an array from AxiosHeaders even when only a single cookie is set HOW
- Paquetes
- axios 1.19.0
- Entorno
- node
- Creado
- 2026-08-16T06:44:11Z
Contrato
- 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
Archivos
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9