Fork me on GitHub

Why is :malformed? comes before :known-content-type?. The example got me confused, since it basically tries to parse the body first then actually checking the content type if it is supported


And in this issue It suggests body parsing to be done in :valid-content-header?. If it's a better place, what is the "correct" way of using :malformed? decision point?