I'm not happy with this
I think that testing that `content-type` is present would be enough and much simpler, think of other types that can be posted (XML for instance)