From b888829d120f354362445d4bfb76d385ddcef2b3 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 14 Nov 2011 11:39:18 +0000 Subject: [PATCH] minor update --- lib/request/connect.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/request/connect.py b/lib/request/connect.py index c40f2a82d..75ab7b11f 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -155,13 +155,13 @@ class Connect: url = url.replace(" ", "%20") page = None - cookieStr = "" - requestMsg = "HTTP request [#%d]:\n%s " % (threadData.lastRequestUID, method or (HTTPMETHOD.POST if post else HTTPMETHOD.GET)) + cookieStr = u"" + requestMsg = u"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 = "" + responseMsg = u"HTTP response " + requestHeaders = u"" responseHeaders = None - logHeaders = "" + logHeaders = u"" # support for non-latin (e.g. cyrillic) URLs as urllib/urllib2 doesn't # support those by default