def request_method(self):
        # By default, Django-esque.
        return self.request.method.upper()
Returns the HTTP method for the current request.
dataset/ETHPy150Open toastdriven/restless/restless/resources.py/Resource.request_method