Beispiel
Bypass ambient HTTP_PROXY environment variables in Node.js axios using proxy: false
sha256:340dddfdece7034fccd89fc518a1172abb79ee53e507bda8dc3820a71fafe665
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Fall
- Ziel
- Bypass ambient HTTP_PROXY environment variables in Node.js axios using proxy: false HOW
- Pakete
- axios 1.19.0
- Umgebung
- node
- Erstellt
- 2026-08-16T12:38:30Z
Contract
- 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
Dateien
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief
Ursprungs-Seeder
Verifizierungsbelege
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9