diff --git a/lib/request/connect.py b/lib/request/connect.py index b62d0812f..ac24ef383 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -191,24 +191,24 @@ class Connect(object): kb.requestCounter += 1 threadData.lastRequestUID = kb.requestCounter - url = kwargs.get('url', conf.url) - get = kwargs.get('get', None) - post = kwargs.get('post', None) - method = kwargs.get('method', None) - cookie = kwargs.get('cookie', None) - ua = kwargs.get('ua', None) - referer = kwargs.get('referer', None) - host = kwargs.get('host', conf.host) - direct_ = kwargs.get('direct', False) - multipart = kwargs.get('multipart', False) - silent = kwargs.get('silent', False) - raise404 = kwargs.get('raise404', True) - auxHeaders = kwargs.get('auxHeaders', None) - response = kwargs.get('response', False) - ignoreTimeout = kwargs.get('ignoreTimeout', kb.ignoreTimeout) - refreshing = kwargs.get('refreshing', False) - retrying = kwargs.get('retrying', False) - crawling = kwargs.get('crawling', False) + url = kwargs.get("url", conf.url) + get = kwargs.get("get", None) + post = kwargs.get("post", None) + method = kwargs.get("method", None) + cookie = kwargs.get("cookie", None) + ua = kwargs.get("ua", None) + referer = kwargs.get("referer", None) + host = kwargs.get("host", conf.host) + direct_ = kwargs.get("direct", False) + multipart = kwargs.get("multipart", False) + silent = kwargs.get("silent", False) + raise404 = kwargs.get("raise404", True) + auxHeaders = kwargs.get("auxHeaders", None) + response = kwargs.get("response", False) + ignoreTimeout = kwargs.get("ignoreTimeout", kb.ignoreTimeout) + refreshing = kwargs.get("refreshing", False) + retrying = kwargs.get("retrying", False) + crawling = kwargs.get("crawling", False) if not urlparse.urlsplit(url).netloc: url = urlparse.urljoin(conf.url, url)