サンプル
Outbound requests ignore HTTP_PROXY unless EnvHttpProxyAgent is explicitly configured, where lowercase env var spelling wins and HTTP proxy acts as fallback for HTTPS but not vice versa
sha256:c5f7d661b349b93b5d644271e2edd085fbcb52460bdd7105e5fec9f64148e1de
PUBLISHED
L3_CONTRACT_PASS
MIT-0
ケース
- ゴール
- Outbound requests ignore HTTP_PROXY unless EnvHttpProxyAgent is explicitly configured, where lowercase env var spelling wins and HTTP proxy acts as fallback for HTTPS but not vice versa HOW
- パッケージ
- undici 8.10.0
- 環境
- node
- 作成日
- 2026-08-14T22:45:01Z
コントラクト
- assert getGlobalDispatcher() defaults to an unproxied Agent that ignores proxy environment variables
- assert ProxyAgent throws without an explicit uri whereas EnvHttpProxyAgent loads from environment
- assert lowercase http_proxy takes precedence over uppercase HTTP_PROXY
- assert omitted https_proxy falls back to http_proxy but omitted http_proxy leaves HTTP direct
- assert no_proxy rules bypass proxy dispatching for matched hostnames, subdomains, and ports
- assert process.env.no_proxy is evaluated dynamically on each dispatch while proxy URIs are bound at construction
- assert setGlobalDispatcher(new EnvHttpProxyAgent()) activates environment-driven proxying
ファイル
- 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-14 · ed25519:ac1544ece1e22594