We noticed HEAD requests now give a 403:
> Invoke-WebRequest -Uri https://dot.net/v1/dotnet-install.ps1 -Method HEAD
Invoke-WebRequest : The remote server returned an error: (403) Forbidden.
At line:1 char:1
+ Invoke-WebRequest -Uri https://dot.net/v1/dotnet-install.ps1 -Method ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Our CI started failing, because we have some generic download code that does an initial HEAD request, for showing progress of downloads.
See: dotnet/android#8311