From a621ed36a4bce3ded12b6432bb5f378721764cbd Mon Sep 17 00:00:00 2001 From: Otto Mao Date: Mon, 23 Feb 2015 11:19:06 +0800 Subject: [PATCH] Updated What is rule file and how to write one (markdown) --- ... to write one.md => What-is-rule-file-and-how-to-write-one.md | 1 + 1 file changed, 1 insertion(+) rename What is rule file and how to write one.md => What-is-rule-file-and-how-to-write-one.md (99%) diff --git a/What is rule file and how to write one.md b/What-is-rule-file-and-how-to-write-one.md similarity index 99% rename from What is rule file and how to write one.md rename to What-is-rule-file-and-how-to-write-one.md index 46348f1..5f3ce2f 100644 --- a/What is rule file and how to write one.md +++ b/What-is-rule-file-and-how-to-write-one.md @@ -3,6 +3,7 @@ Anyproxy exposes a lot of interface for you to hack requests. To use them, you h How proxy works ----------------------- Basically, you should understand how http-proxy works. + Http-proxy is something like a man standing between client and server. When a client is configured with proxy, all requests sent to target server will be forwarded to proxy server. After being requested, proxy server would try to figure out the request url(host and path), headers, and request body. Using these data, proxy will then send a request to target server on behalf of the client. As you can imagine, the procedure of getting response is also very likely. Obviously, the proxy server as a middle man is able to inspect and modify any byte of an http request without being noticed by client or target server, which is a great feature for building a customized network env. AnyProxy is exactly the tool for you to customize these requests.