rest-assured/src/main/java/io/restassured/config/DecoderConfig.java
public DecoderConfig contentDecoders(ContentDecoder contentDecoder, ContentDecoder... additionalContentDecoders) {
        return new DecoderConfig(defaultContentCharset, useNoWrapForInflateDecoding, true, contentTypeToDefaultCharset, merge(contentDecoder, additionalContentDecoders));
    }
public DecoderConfig contentDecoders(ContentDecoder contentDecoder, ContentDecoder... additionalContentDecoders) {
        return new DecoderConfig(defaultContentCharset, useNoWrapForInflateDecoding, true, contentTypeToDefaultCharset, merge(contentDecoder, additionalContentDecoders));
    }
Specify the content decoders that will be presented to the server when making a request (using the <code>Accept-Encoding</code> header).
If the server supports any of these encodings then REST Assured will automatically perform decoding of the response accordingly.
<p>
By default {@link ContentDecoder#GZIP} and {@link ContentDecoder#DEFLATE} are used.
</p>

@param contentDecoder            The first content decoder
@param additionalContentDecoders Optional additional content decoders
@return A new instance of the DecoderConfig.