Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 58874ba

Browse files
committed
Update HttpUtils.cs
1 parent d487844 commit 58874ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ServiceStack.Text/HttpUtils.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1350,6 +1350,7 @@ public static bool IsBinary(string contentType)
13501350
case Cert:
13511351
case Excel:
13521352
case MsWord:
1353+
case WebAssembly:
13531354
return true;
13541355
}
13551356

@@ -1591,7 +1592,7 @@ public static string GetMimeType(string fileNameOrExt)
15911592
return Binary;
15921593

15931594
case "wasm":
1594-
return "application/wasm";
1595+
return WebAssembly;
15951596

15961597
default:
15971598
return "application/" + fileExt;

0 commit comments

Comments
 (0)