

def get_requester(self):
    method = self._method
    if (method == 'GET'):
        return self.get_getter()
    elif (method == 'POST'):
        return self.get_poster()
    elif (method == 'PUT'):
        return self.get_uploader()
    elif (method == 'DELETE'):
        return self.get_deleter()
    else:
        raise ValueError(('Invalid method type: %r' % (meth,)))

dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/client.py HTTPRequest.get_requester/original