File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ Rule module
4949![ ] ( https://t.alipayobjects.com/images/T1v8pbXjJqXXXXXXXX.png )
5050
5151
52- Using https features
52+ Https features
5353----------------
5454After configuring rootCA, anyproxy could help to decrypt https requests, whose approach is also called Man-In-The-Middle(MITM).
5555
Original file line number Diff line number Diff line change 1+ The following are sample rules.
2+
3+ * rule__ blank.js
4+ * blank rule file with some comments. You may read this before writing your own rule file.
5+ * 空白的规则文件模板,和一些注释
6+ * rule_adjust_response_time.js
7+ * delay all the response for 1500ms
8+ * 把所有的响应延迟1500毫秒
9+ * rule_allow_CORS.js
10+ * add CORS headers to allow cross-domain ajax request
11+ * 为ajax请求增加跨域头
12+ * rule_assign_ip_address.js
13+ * assign an ip address to a specified domain
14+ * 为某个域名指定ip地址
15+ * rule_intercept_some_https_requests.js
16+ * intercept https requests toward github.com and append some data
17+ * 截获github.com的https请求,再在最后加点文字
18+ * rule_remove_cache_header.js
19+ * remove all cache-related headers from server
20+ * 去除响应头里缓存相关的头
21+ * rule_replace_request_option.js
22+ * replace request parameters before sending to the server
23+ * 在请求发送到服务端前对参数做一些调整
24+ * rule_replace_response_data.js
25+ * modify response data
26+ * 修改响应数据
27+ * rule_replace_response_status_code.js
28+ * replace server's status code
29+ * 改变服务端响应的http状态码
30+ * rule_use_local_data.js
31+ * map some requests to local file
32+ * 把图片响应映射到本地
You can’t perform that action at this time.
0 commit comments