Use urllib2 instead of httplib