OneGet / NuGetProvider

NuGet Provider for OneGet. Works on Nano Server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HttpClient.GetAsync fails with 302 with https if URI redirects on CoreCLR

adityapatwardhan opened this issue · comments

When the HTTP URI has a redirect, we get a status code 302. This is a security feature and the code needs to work around it.

More context here: https://github.com/dotnet/corefx/issues/12171#issuecomment-250359676

It's not supported redirect from https to http for the security considerations.