MCPcopy Index your code
hub / github.com/nodejs/node / test-http-proxy-request.mjs

File test-http-proxy-request.mjs

test/client-proxy/test-http-proxy-request.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// This tests that when the `NODE_USE_ENV_PROXY` environment variable is set to 1, Node.js
2// correctly uses the `HTTP_PROXY` or `http_proxy` environment variable to proxy HTTP requests
3// via request rewriting.
4

Callers

nothing calls this directly

Calls 9

onceFunction · 0.90
createProxyServerFunction · 0.90
listenMethod · 0.80
addressMethod · 0.65
matchMethod · 0.65
closeMethod · 0.65
endMethod · 0.45
onMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected