forked from Archives/Athou_commafeed
there are only native implementations of brotli encoders, don't use them because it doesn't work on all platforms
This commit is contained in:
@@ -33,7 +33,6 @@ import org.mockserver.model.HttpRequest;
|
||||
import org.mockserver.model.HttpResponse;
|
||||
import org.mockserver.model.MediaType;
|
||||
|
||||
import com.aayushatharva.brotli4j.encoder.BrotliOutputStream;
|
||||
import com.codahale.metrics.MetricRegistry;
|
||||
import com.commafeed.CommaFeedConfiguration;
|
||||
import com.commafeed.CommaFeedVersion;
|
||||
@@ -234,11 +233,6 @@ class HttpGetterTest {
|
||||
supportsCompression("gzip", GZIPOutputStream::new);
|
||||
}
|
||||
|
||||
@Test
|
||||
void brotli() throws IOException, NotModifiedException {
|
||||
supportsCompression("br", BrotliOutputStream::new);
|
||||
}
|
||||
|
||||
void supportsCompression(String encoding, CompressionOutputStreamFunction compressionOutputStreamFunction)
|
||||
throws IOException, NotModifiedException {
|
||||
String body = "my body";
|
||||
|
||||
Reference in New Issue
Block a user