1 2 3 4 5 6
>>> c = httplib.HTTPConnection('python.org') >>> c.connect() >>> c.request('GET', '/') >>> r = c.getresponse() >>> r.version 11