node-http-proxy
node-http-proxy copied to clipboard
A full-featured http proxy for node.js
Report at [GHSA-pw2r-vq6v-hr8c](https://github.com/advisories/GHSA-pw2r-vq6v-hr8c) Recommend #1564 updates to 1.14.8 rather than 1.14.7
This error was reproduced using node.js v16.15.0. ## Reproduction Here is a minimal example to reproduce the above-mentioned memory leak: ```js const http = require('http'); const { createProxyServer } =...
Hi I am trying to proxy to a proxy. I am using http-proxy in nestjs contorller. My code looks like this: httpProxy = httpProxy.createProxyServer({ ignorePath: false, toProxy: true, changeOrigin: true,...
Capture
Is there any way I can capture the request and response's body when proxying https or ws?
After upgrading to node 16, the web proxy stopped working when requests were aborted. The specific use case was SSE where the incoming request has ended but the server response...
some servers don't accept lowercase x-forwarded-* headers. like Github Enterprise
https://github.com/http-party/node-http-proxy/blob/9b96cd725127a024dabebec6c7ea8c807272223d/lib/http-proxy.js#L26-L42
I have a service that is proxying requests to RESTHeart. My service requires BasicAuth criteria#1 and RESTHeart requires BasicAuth criteria#2 ('admin:changeit'). In my service I amend the URL of the...
``` // // Basic Http Proxy Server // httpProxy.createServer({ target:'http://localhost:9003', auth: 'amos:gogo' }).listen(8003); ```