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.
1 parent 120ff8e commit 0899829Copy full SHA for 0899829
src/Dotnet.Script.Core/ScriptDownloader.cs
100644
100755
@@ -18,7 +18,7 @@ public async Task<string> Download(string uri)
18
19
using (HttpContent content = response.Content)
20
{
21
- var mediaType = content.Headers.ContentType.MediaType?.ToLowerInvariant().Trim();
+ var mediaType = content.Headers.ContentType?.MediaType?.ToLowerInvariant().Trim();
22
switch (mediaType)
23
24
case null:
0 commit comments