8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7911257 + 9120d17 commit ab68d47Copy full SHA for ab68d47
src/Dotnet.Script.Core/ScriptDownloader.cs
@@ -18,7 +18,7 @@ public async Task<string> Download(string uri)
18
AutomaticDecompression = DecompressionMethods.GZip
19
}))
20
{
21
- using (HttpResponseMessage response = await client.GetAsync(uri))
+ using (HttpResponseMessage response = await client.GetAsync(uri, HttpCompletionOption.ResponseHeadersRead))
22
23
response.EnsureSuccessStatusCode();
24
0 commit comments