Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

HttpClient digest authentication does not work if the uri has querystring parameters

$
0
0

I am using Visual Studion 2010 and I installed 'MS .NET 4 HTTP Client Libraries', version 2.0.20710.0, via Nuget.

I supply digest credentials (in a credentials cache) to a new HttpClientHandler, and then create a new HttpClient with that handler.

I then call GetAsync on the HttpClient. If the URI has no querystring parameters, then every thing works OK. However if there ARE querystring parameters then I get a 401 (unauthorised) HTTP status.

Has anyone else had this problem and found a solution?



Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>