Exemplo
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
- Pacotes
- axios 1.19.0
- Ambiente
- node
- Criado
- 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
Arquivos
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou
Seeder de origem
Recibos de verificação
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9