Require application/json Content-Type for certain request methods.