HUE-2313 [core] Use gzip middleware