added default HTTP version used by httplib and urllib2

This commit is contained in:
Miroslav Stampar 2010-10-21 09:10:07 +00:00
parent 7f1aa3b94f
commit 2668c95ef4

View File

@ -114,7 +114,7 @@ class Connect:
if conf.parameters.has_key("POST") and not post:
post = conf.parameters["POST"]
requestMsg += " HTTP/1.1"
requestMsg += " %s" % httplib.HTTPConnection._http_vsn_str
# Perform HTTP request
headers = forgeHeaders(cookie, ua)