redo of the last commit with comments added

This commit is contained in:
Miroslav Stampar 2011-02-28 18:58:05 +00:00
parent ade31b2cb0
commit 9856cb71de

View File

@ -78,7 +78,10 @@ class Connect:
threadData = getCurrentThreadData()
threadData.lastRequestUID += 1
url = kwargs.get('url', conf.url)
# dirty hack because urllib2 just skips the other part of provided url
# splitted with space char while urlencoding it in the later phase
url = kwargs.get('url', conf.url).replace(" ", "%20")
get = kwargs.get('get', None)
post = kwargs.get('post', None)
method = kwargs.get('method', None)