int status = getInt(headers, "X-Status", 200); boolean compressResponse = headers .getOrDefault("Content-Encoding", Collections.emptyList()) .contains("gzip"); if (compressResponse) {
int status = getInt(headers, "X-Status", 200); boolean compressResponse = headers .getOrDefault("Content-Encoding", Collections.emptyList()) .contains("gzip"); if (compressResponse) {