ring.middleware.head

(source)
Middleware to simplify replying to HEAD requests. A response to a HEAD request should be identical to a GET request, with the exception that a response to a HEAD request should have an empty body.

For more info about this library see:

https://github.com/ring-clojure/ring/wiki
Public Variable Short Description
head-request (clj) Turns a HEAD request into a GET.
head-response (clj) Returns a nil body if original request was a HEAD.
wrap-head (clj) Middleware that turns any HEAD request into a GET, and then sets the response body to nil.