rest-assured/src/main/java/io/restassured/internal/http/ContentEncodingRegistry.java
protected Map<String, ContentEncoding> getDefaultEncoders() {
        Map<String, ContentEncoding> map = new HashMap<String, ContentEncoding>();
        map.put(Type.GZIP.toString(), new GZIPEncoding());
        map.put(Type.DEFLATE.toString(), new DeflateEncoding(useNoWrapForInflateDecoding));
        return map;
    }
protected Map<String, ContentEncoding> getDefaultEncoders() {
        Map<String, ContentEncoding> map = new HashMap<String, ContentEncoding>();
        map.put(Type.GZIP.toString(), new GZIPEncoding());
        map.put(Type.DEFLATE.toString(), new DeflateEncoding(useNoWrapForInflateDecoding));
        return map;
    }
protected Map < String , ContentEncoding > getDefaultEncoders ( ) { Map < String , ContentEncoding > map = new HashMap < String , ContentEncoding > ( ) ; map . put ( Type . GZIP . toString ( ) , new GZIPEncoding ( ) ) ; map . put ( Type . DEFLATE . toString ( ) , new DeflateEncoding ( useNoWrapForInflateDecoding ) ) ; return map ; }
This implementation adds a {@link GZIPEncoding} and {@link DeflateEncoding}
handler to the registry.  Override this method to provide a different set
of defaults.

@return a map to content-encoding strings to {@link ContentEncoding} handlers.
This implementation adds a { @link GZIPEncoding } and { @link DeflateEncoding } handler to the registry . Override this method to provide a different set of defaults .