the method is stored into request.env.request_method .
So request.env.request_method == 'POST' is what you're looking for

Reply via email to