From cf69809c3c2388cb45fcfac6b9389472aea5065a Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 27 May 2011 16:26:00 +0000 Subject: [PATCH] minor update --- lib/request/connect.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/request/connect.py b/lib/request/connect.py index 556bc258b..d9895574c 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -121,7 +121,7 @@ class Connect: page = "" cookieStr = "" - requestMsg = "HTTP request [#%d]:\n%s " % (threadData.lastRequestUID, method or conf.method) + requestMsg = "HTTP request [#%d]:\n%s " % (threadData.lastRequestUID, method or (HTTPMETHOD.POST if post else HTTPMETHOD.GET)) requestMsg += "%s" % urlparse.urlsplit(url)[2] or "/" responseMsg = "HTTP response " requestHeaders = "" @@ -158,11 +158,7 @@ class Connect: return page elif refreshing: - # Reference(s): - # http://vancouver-webpages.com/META/metatags.detail.html - # http://webdesign.about.com/od/metataglibraries/a/aa080300a.htm - get = None - post = None + pass elif target: if conf.parameters.has_key(PLACE.GET) and not get: @@ -292,6 +288,8 @@ class Connect: threadData.lastRedirectMsg = (threadData.lastRequestUID, page) kwargs['refreshing'] = True + kwargs['get'] = None + kwargs['post'] = None debugMsg = "got HTML meta refresh header" logger.debug(debugMsg)