Open foodmade opened 3 years ago
我要怎么设置request参数,才能让Anyproxy能正常代理我的请求,我这儿说的正常代理是指能够进入我的rule逻辑,获取对应的请求头等参数
现在的现象是,只要打印了这个 [internal https]proxy server 日志,将不会执行我的rule逻辑。跪求解答,被这个问题困扰好多天啦~
已经解决了,需要在request请求参数里添加如下参数:
requestCert:true
rejectUnauthorized:false
使用平台:Windows
Anyproxy版本:4.1.3
期望结果:anyproxy规则文件中,能正常解析请求地址
Anyproxy实际结果: [AnyProxy Log][2021-04-06 15:16:34]: received https CONNECT request www.baidu.com [AnyProxy Log][2021-04-06 15:16:34]: will forward to local https server [AnyProxy Log][2021-04-06 15:16:34]: [internal https]proxy server for www.baidu.com established
备注:我使用的是node request模块代理请求,代码片段如下![image](https://user-images.githubusercontent.com/15045287/113673655-da5de680-96eb-11eb-9465-cd598306d069.png)
Anyproxy日志如下![image](https://user-images.githubusercontent.com/15045287/113673745-f3669780-96eb-11eb-8f91-8f4186249c37.png)