(content-type resp content-type)
Returns an updated Ring response with the a Content-Type header corresponding
to the given content-type.
Source
(defn content-type
"Returns an updated Ring response with the a Content-Type header corresponding
to the given content-type."
[resp content-type]
(header resp "Content-Type" content-type))