clojure-liberator/liberator — pull request #53 by flyingmachine (2013-06-19 13:29:17+00:00)
Title: Add 422 unprocessable

422 unprocessable seems most appropriate for cases where a client's data is invalid.

Right now, this is how I handle invalid data:

```clojure
:malformed? (fn [_]
(if-valid
params validations/topic errors
false
[true {:errors errors
:representation {:media-type "application/json"}}]))
```

So, another drawback of not having 422 is that you have to explicitly add the media-type to the context map, which I don't think you should need to do.