我希望能够通过上游代理重定向来自提琴手代码的http请求,我希望能够在运行时指定该请求.
I'd like to be able to redirect http requests from fiddler code through upstream proxys, which I want to be able to specify at runtime.
我已经浏览过FiddlerApplication函数,但没有找到合适的东西,也没有找到任何与文档匹配的东西(除了可以指定启动标记以使用系统的代理外)作为上游代理.
I've looked through FiddlerApplication functions, and I don't see anything that might fit, as well as I haven't found anything matching in the documentation (except that you might specify a startup flag to use system's proxy as upstream proxy).
在运行时指定/更改Fiddler核心代理的最佳方法是什么?
What is the best way to specify/change fiddler core proxy at runtime?
推荐答案如果要将每个请求发送到代理,并且该代理不是系统的默认值:在发送每个请求之前,请指定 X -Session上的-OverrideGateway 标志.在您的BeforeRequest处理程序中,添加以下行:
If you want to send each request to a proxy, and that proxy isn't the system's default: Before each request is sent, specify the X-OverrideGateway flag on the Session. Inside your BeforeRequest handler, add the following line:
oSession["X-OverrideGateway"] = "someProxy:1234";-埃里克
更多推荐
如何为Fiddler Core手动设置上游代理?
发布评论