ring.middleware.file-info

(source)
Middleware to add Last-Modified and Content-Type headers to file responses. This middleware is deprecated. Prefer the ring.middleware.content-type and ring.middleware.not-modified middleware instead.

For more info about this library see:

https://github.com/ring-clojure/ring/wiki
Public Variable Short Description
file-info-response (clj) Adds headers to response as described in wrap-file-info.
wrap-file-info (clj) Wrap a handler such that responses with a file for a body will have corresponding Content-Type, Content-Length, and Last Modified headers added if they can be determined from the file.