即使在“www.google.com”的 SetCredentials 之后,IWinHttpRequest 也会失败,状态代码为 407。
我的系统浏览器 (IE) 经过代理验证。我尝试使用下载“www.google.com” 即使使用 SetCredentials(...) 为“www.google.com”设置用户名和密码后,IWinHttpRequest 也会失败,状态代码为 407(需要代理身份验证)。响应文本包含“缓存访问被拒绝”。怎么解决这个问题呢?
My system Browser (IE) is proxy authenticated. I tried to download "www.google.com" using
IWinHttpRequest it fails with status code 407 ( Need Proxy Authentication ) even after setting the user name and password using SetCredentials(...) for "www.google.com". The response text contains "cache access denied". How to solve this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
应按如下方式调用 SetCredentials 两次
在调用“发送”之前,
SetCredentials should be called twice as follows
before called "Send"