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 db7f7eb1..2a90aaae 100644 --- a/lapis2/src/main/kotlin/org/genspectrum/lapis/controller/CompressionFilter.kt +++ b/lapis2/src/main/kotlin/org/genspectrum/lapis/controller/CompressionFilter.kt @@ -222,6 +222,18 @@ class CompressingServletOutputStream( compressingStream.write(byte) } + override fun write(bytes: ByteArray) { + compressingStream.write(bytes) + } + + override fun write( + bytes: ByteArray, + offset: Int, + length: Int, + ) { + compressingStream.write(bytes, offset, length) + } + override fun isReady() = outputStream.isReady override fun setWriteListener(listener: WriteListener?) = outputStream.setWriteListener(listener)