}
if (request.headers().containsKey(HttpHeaders.ACCEPT_ENCODING)
&& request.headers().get(HttpHeaders.ACCEPT_ENCODING)
.contains("gzip")
&& HttpThread.COMPRESSIBLE.contains(resource.contentType())) {
resource = new GzipResource(resource);
}
return resource;
}