node-http-proxy icon indicating copy to clipboard operation
node-http-proxy copied to clipboard

A full-featured http proxy for node.js

Results 200 node-http-proxy issues
Sort by recently updated
recently updated
newest added
trafficstars

i have anodejs application that uses http-proxy to create a proxy to send the incoming requests for example: https://localhost/api/login to https://server1/api/login. here is the code used : var httpProxy =...

in https://github.com/http-party/node-http-proxy/blob/master/lib/http-proxy/index.js#L64-L65 `options.target` can use `URL` instance: ```js const url = new URL(req.url); proxyServer.web(req, res, { target: url }); ``` https://github.com/http-party/node-http-proxy/blob/master/lib/http-proxy/passes/web-outgoing.js#L54 don't support URL instance

# Description In the file [`bodyDecoder-middleware.js`, lines 47-53](https://github.com/http-party/node-http-proxy/blob/master/examples/middleware/bodyDecoder-middleware.js#L47-L53), the server incorrectly handles `Content-type: application/json; charset=utf-8` headers and similarly formatted headers for form data (`application/x-www-form-urlencoded`). The existing code uses strict string...

Whenever I set my server to `cert-auth` `require`, the node-http-proxy acting as the client fails with: `D0340000:error:0A000416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown:C:\ws\deps\openssl\openssl\ssl\record\rec_layer_s3.c:1586:SSL alert number 46` I'm using the following in my...

From what README.md describes, node-http-proxy redirects stuff like: http://localhost/abc to http://target/abc However, I would like to use it as a real proxy server. Like the ones you configure into your...

we were facing dns throttling problems in our services under high load, so we wanted to add caching to dns resolving. To do caching we need to expose lookup option...

I have a node.js application that runs with express and with http-proxy. Now the express server is where client requests come in and then the requests are forwarded to an...

I'm trying to manually handle the response with `{ selfHandleResponse: true }`, but, as the doc says: > none of the webOutgoing passes are called And that prevents me from...

Switched to Vite which uses this library under the hood. Any way to switch the target based on request headers like the below library, https://github.com/chimurai/http-proxy-middleware/issues/273

https://github.com/http-party/node-http-proxy/blob/9b96cd725127a024dabebec6c7ea8c807272223d/lib/http-proxy/common.js#L7 ```ts /^https|wss/.test("httpstuff") // true /^https|wss/.test("cowss") // true ``` I assume you either way ```diff - /^https|wss/ + /^https:$|^wss:$/ or + /^(?:https|wss):$/ or if you don't mind the creation of...