Minor adjustment, still to work on the cookie urlencoding/decoding

This commit is contained in:
Bernardo Damele
2008-12-02 21:57:12 +00:00
parent 578bcb9140
commit b700485a1b
2 changed files with 6 additions and 2 deletions

View File

@@ -105,7 +105,9 @@ class Connect:
requestMsg += " HTTP/1.1"
if cookie:
cookie = urlencode(cookie).replace("%%", "%")
# TODO: sure about encoding the cookie?
#cookie = urlencode(cookie).replace("%%", "%")
cookie = cookie.replace("%%", "%")
try:
# Perform HTTP request