On Tue, 21 Dec 2010 00:01:44 +0530, Anurag Chourasia wrote: >>> import httplib >>> help(httplib.HTTP) Help on class HTTP in module httplib:
class HTTP | Compatibility class with httplib.py from 1.5. | | Methods defined here: | | __init__(self, host='', port=None, strict=None) The constructor doesn't take a complete URL as an argument. Also, shouldn't you be using httplib.HTTPConnection? The docs state that httplib.HTTP is for backward compatibility only. Kev -- http://mail.python.org/mailman/listinfo/python-list