Skip to content

Commit ab68d47

Browse files
authored
Merge branch 'master' into accept-encoding-gzip
2 parents 7911257 + 9120d17 commit ab68d47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dotnet.Script.Core/ScriptDownloader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public async Task<string> Download(string uri)
1818
AutomaticDecompression = DecompressionMethods.GZip
1919
}))
2020
{
21-
using (HttpResponseMessage response = await client.GetAsync(uri))
21+
using (HttpResponseMessage response = await client.GetAsync(uri, HttpCompletionOption.ResponseHeadersRead))
2222
{
2323
response.EnsureSuccessStatusCode();
2424

0 commit comments

Comments
 (0)