File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Tools/LambdaTestTool-v2/src/Amazon.Lambda.TestTool/Utilities Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,11 @@ public static bool IsBinaryContent(string? contentType)
18
18
return contentType . StartsWith ( "image/" , StringComparison . OrdinalIgnoreCase ) ||
19
19
contentType . StartsWith ( "audio/" , StringComparison . OrdinalIgnoreCase ) ||
20
20
contentType . StartsWith ( "video/" , StringComparison . OrdinalIgnoreCase ) ||
21
- contentType . Equals ( "application/octet-stream" , StringComparison . OrdinalIgnoreCase ) ;
21
+ contentType . Equals ( "application/octet-stream" , StringComparison . OrdinalIgnoreCase ) ||
22
+ contentType . Equals ( "application/zip" , StringComparison . OrdinalIgnoreCase ) ||
23
+ contentType . Equals ( "application/pdf" , StringComparison . OrdinalIgnoreCase ) ||
24
+ contentType . Equals ( "application/wasm" , StringComparison . OrdinalIgnoreCase ) ||
25
+ contentType . Equals ( "application/x-protobuf" , StringComparison . OrdinalIgnoreCase ) ;
22
26
}
23
27
24
28
/// <summary>
You can’t perform that action at this time.
0 commit comments