Removing request Content-Type dependency

I know it's a Flask design flow, distinguing, for example, a form post from a one in json, and I will definitely ask to the author to change it, but I think it's very easy and clean using an iterator to expose this functionality.