diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/entity/compress/DecompressingEntity.java b/httpclient5/src/main/java/org/apache/hc/client5/http/entity/compress/DecompressingEntity.java index a5c8af0cb0..ba5bfd4654 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/entity/compress/DecompressingEntity.java +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/entity/compress/DecompressingEntity.java @@ -82,14 +82,12 @@ public long getContentLength() { return -1; } + /** + * Content is no longer encoded + */ @Override - public boolean isRepeatable() { - return super.isRepeatable(); - } - - @Override - public boolean isStreaming() { - return super.isStreaming(); + public String getContentEncoding() { + return null; } /**