

def __init__(self, url, method='GET', params=None, data=None, files=None, headers=None):
    '\n        Create a Request object\n\n        :param str url: URL\n        :param str method: request method\n        :param dict params: request parameters\n        :param dict data: form data\n        :param dict files: mulitpart form data\n        :param dict headers: custom request headers\n\n        '
    self.url = url
    self.method = method
    self.params = params
    self.data = data
    self.files = files
    self.headers = headers
    self._debug()

dataset/ETHPy150Open shichao-an/115wangpan/u115/api.py Request.__init__/original