问题描述
我试图让提琴手与我公司的代理工作。每一个外部请求返回407
到目前为止,我已经尝试添加oSession.oRequest [代理授权] =YOURCREDENTIALS;到自定义的规则,我用我的用户名:密码以Base64。仍然没有运气。
任何想法?谢谢你。
I had the same problem, too, and solved it like this:
- Started Fiddler with it's standard configuration.
- Started IE and made a HTTP-request to an external web-site.
- The proxy authorization dialogue popped up, where I entered my credentials.
- In Fiddler searched the request headers for "Proxy-Authorization".
- Copied the header value which looked like "Basic sOMeBASE64eNCODEdSTRING=" to the clipboard.
Altered the CustomRules.js with the following line within OnBeforeRequest:
oSession.oRequest["Proxy-Authorization"] = "Basic sOMeBASE64eNCODEdSTRING=";
So my approach was quite similar to yours just that in advance I checked what kind of proxy authorization the server required by using Fiddler to debug the authorization header. That way I found out I had to add "Basic" before the Base64 encoded credentials and I didn't even have to use the tool to encode the credentials to Base64. Just copied the value from the proxy authorization header.
这篇关于配置提琴手使用公司网络的代理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!