Permalink
Browse files

Docstring for r.u.servlet/set-status.

  • Loading branch information...
1 parent e210dda commit 160b8b08abb2d91978ac88366164b516790cdcad @mmcgrana committed Nov 1, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 ring-servlet/src/ring/util/servlet.clj
View
4 ring-servlet/src/ring/util/servlet.clj
@@ -52,7 +52,9 @@
:servlet-response response
:servlet-context (.getServletContext servlet)}))
-(defn set-status [^HttpServletResponse response, status]
+(defn set-status
+ "Update a HttpServletResponse with a status code."
+ [^HttpServletResponse response, status]
(.setStatus response status))
(defn set-headers

0 comments on commit 160b8b0

Please sign in to comment.