From 9f684d0439174d889d7b9a4ef6e2353e09481b2d Mon Sep 17 00:00:00 2001 From: no9 Date: Wed, 15 Oct 2014 01:52:27 +0100 Subject: [PATCH] harmon notes --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 1943f3f30..ea204537a 100644 --- a/README.md +++ b/README.md @@ -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