HttpWebRequests sends parameterless URI in Authorization header

后端 未结 3 1588
没有蜡笔的小新
没有蜡笔的小新 2020-12-06 03:09

I\'m connecting to a web service from .NET, like:

var request = (HttpWebRequest) WebRequest.Create(uri);
request.Credentials = new NetworkCredential(\"usr\",         


        
3条回答
  •  暖寄归人
    2020-12-06 03:45

    It looks like you need to install this hotfix might help you out:

    http://support.microsoft.com/?kbid=924638

    Your problem was probably happening because you weren't able to set the KeepAlive property to false when you're using the HTTP adapter to post a message

    Also ensure PreAuthenticate is set to true.

提交回复
热议问题