status-codes allows you to report HTTP Response Status Codes as keywords like 
:ok, :accepted and so on.

You can find code at github http://github.com/neotyk/status-codes

(use 'status-codes)
(GET "/test" _ :accepted)
;; or
(PUT "/test" _ {:headers {"Location" ..} :status :created})

Enjoy,
Hubert Iwaniuk.


-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to