mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-05-09 22:38:26 +00:00
Updated What is rule file and how to write one (markdown)
parent
7f50f8159d
commit
a621ed36a4
@ -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.
|
Loading…
x
Reference in New Issue
Block a user