diff --git a/lapis2/src/main/kotlin/org/genspectrum/lapis/controller/CompressionFilter.kt b/lapis2/src/main/kotlin/org/genspectrum/lapis/controller/CompressionFilter.kt index 2a90aaae..80aca005 100644 --- a/lapis2/src/main/kotlin/org/genspectrum/lapis/controller/CompressionFilter.kt +++ b/lapis2/src/main/kotlin/org/genspectrum/lapis/controller/CompressionFilter.kt @@ -65,8 +65,8 @@ enum class Compression( .map { it.trim() } return when { - headersList.contains(GZIP.value) -> GZIP headersList.contains(ZSTD.value) -> ZSTD + headersList.contains(GZIP.value) -> GZIP else -> null } }