Senthil Kumaran added the comment:

Okay, this is funny. first info is invoking addinfourl of urllib, which would 
return headers. But in urllib2, the headers are self.hdrs

I would side with the documentation that info is advertised method for 
HTTPError object. In 2.7,  I guess just docs could be improved. This problem 
would be the present in 3.x.

----------
assignee:  -> orsenthil
nosy: +orsenthil

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15701>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to