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

Commit 11fb0d3

Browse files
committed
ok to all Brotli symbols
1 parent 1994e93 commit 11fb0d3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/ServiceStack.Text/HttpUtils.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2016,9 +2016,7 @@ public static class CompressionTypes
20162016
};
20172017

20182018
public const string Default = Deflate;
2019-
#if NET6_0_OR_GREATER
20202019
public const string Brotli = "br";
2021-
#endif
20222020
public const string Deflate = "deflate";
20232021
public const string GZip = "gzip";
20242022

@@ -2044,9 +2042,7 @@ public static string GetExtension(string compressionType)
20442042
{
20452043
switch (compressionType)
20462044
{
2047-
#if NET6_0_OR_GREATER
20482045
case Brotli:
2049-
#endif
20502046
case Deflate:
20512047
case GZip:
20522048
return "." + compressionType;

0 commit comments

Comments
 (0)