(accepts-gzip? {:keys [headers]})
Tests if the request indicates that the client can accept a gzipped response
Tests if the request indicates that the client can accept a gzipped response
(content-encoding? {:keys [headers]})
Tests if the provided response has a content-encoding header
Tests if the provided response has a content-encoding header
(wrap-gzip handler)
Ring middleware that GZIPs response if client can handle it.
Ring middleware that GZIPs response if client can handle it.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close