diff --git a/lib/request/connect.py b/lib/request/connect.py index 22d89a71c..17e866d05 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -73,15 +73,11 @@ class Connect: page = "" cookieStr = "" requestMsg = "HTTP request:\n%s " % conf.method + requestMsg += "%s" % urlparse.urlsplit(url)[2] or "/" responseMsg = "HTTP response " requestHeaders = "" responseHeaders = "" - if re.search("http[s]*://%s" % conf.hostname, url, re.I): - requestMsg += "%s" % conf.path or "/" - else: - requestMsg += "%s" % urlparse.urlsplit(url)[2] or "/" - if silent: socket.setdefaulttimeout(3)