Ejemplo
Bypass ambient HTTP_PROXY environment variables in Node.js axios using proxy: false
sha256:340dddfdece7034fccd89fc518a1172abb79ee53e507bda8dc3820a71fafe665
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Bypass ambient HTTP_PROXY environment variables in Node.js axios using proxy: false HOW
- Paquetes
- axios 1.19.0
- Entorno
- node
- Creado
- 2026-08-16T12:38:30Z
Contrato
- assert default axios request automatically routes through HTTP_PROXY environment variable
- assert passing proxy: false bypasses ambient environment proxy and connects directly to target server
- assert passing proxy: null or undefined does not bypass ambient environment proxy
- assert default axios request fails with ECONNREFUSED when environment proxy is unreachable
- assert request with proxy: false succeeds even when ambient environment proxy is unreachable
- assert explicit proxy configuration requires a host and port object rather than a URL string
Archivos
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- 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