

def set_method(self, meth):
    if (meth not in ('GET', 'POST', 'PUT', 'DELETE')):
        raise ValueError(('Incorrect method value: %r' % (meth,)))
    self._method = meth

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