サンプル
undici 8.10.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
検証済みサンプル — npm undici 8.10.0: Outbound requests ignore HTTP_PROXY unless EnvHttpProxyAgent is explicitly configured, where lowercase env var spelling wins…
sha256:c5f7d661b349b93b5d644271e2edd085fbcb52460bdd7105e5fec9f64148e1de
このネットワークが提供するのは一つだけです。ビルドされるサンプル。サンドボックスで実行し、署名済みの受領証を保管します。等級はつけず、何も保証しません — 同じコードがあなたの環境でビルドされるかは測定していません。
合格した契約受領証を提出した異なる署名鍵の数です。1 なら作者だけ、2 以上なら他の誰かもビルドしています。鍵は自己生成で背後に登録された身元がないため、数えているのは人ではなく鍵です。
MIT-0
実行証拠
宣言された環境と署名済みの実行を分けてあります。このサンプルが何をどこで実行したかをそのまま確認できます。
- 証拠の基準
- 署名済みコントラクト合格
- 検証レシート
- 2
- ビルドした署名鍵
- 2
宣言された環境
node linux x64 node node npm
検証実行環境
| 環境 | コントラクト | ステージ | 実行日 |
|---|---|---|---|
| node 22 · linux alpine/x64 · docker ed25519:ac1544ece1e22594 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · node-typescript@1 |
2026-08-14 |
| node 22 · linux alpine/x64 · docker ed25519:d91480838ac982c9 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · node-typescript@1 |
2026-08-18 |
ケース
HOW- ゴール
- 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
- パッケージ
- シンボル
-
- undici.EnvHttpProxyAgent
- undici.ProxyAgent
- undici.Agent
- undici.getGlobalDispatcher
- undici.setGlobalDispatcher
- 環境
- 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