mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
harmon notes
This commit is contained in:
parent
3768cce4ca
commit
9f684d0439
@ -114,6 +114,11 @@ var server = http.createServer(function(req, res) {
|
||||
console.log("listening on port 5050")
|
||||
server.listen(5050);
|
||||
```
|
||||
#### Modify a response from a proxied server
|
||||
Sometimes when you have recieved a HTML/XML document from the server of origin you would like to modify it before forwarding it on.
|
||||
|
||||
[Harmon](https://github.com/No9/harmon) allows you to do this in a streaming style so as to keep the pressure on the proxy to a minimum.
|
||||
|
||||
|
||||
#### Setup a stand-alone proxy server with proxy request header re-writing
|
||||
This example shows how you can proxy a request using your own HTTP server that
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user