XmlHttp Request Basic Authentication Issue

前端 未结 1 1635
清酒与你
清酒与你 2020-12-06 21:15

I have the following code that creates a serverside object of the xmlhttp class. I am trying to connect to a site that requires basic authentication. I am able to get this

相关标签:
1条回答
  • 2020-12-06 21:54

    I believe you're hitting this known limitation (or bug) that can be boiled down to msxml2 lacking (or having incorrect) support for "negotiated" authentication mechanisms, which means you have to force the issue (bypass the incorrectly-conducted negotiation) exactly by adding the authorization header yourself as you're doing.

    0 讨论(0)
提交回复
热议问题