XmlHttp Request Basic Authentication Issue

前端 未结 1 1648
清酒与你
清酒与你 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)
提交回复
热议问题