![](https://secure.gravatar.com/avatar/42f8b75959d96f57172758ff3f3b83aa.jpg?s=120&d=mm&r=g)
June 4, 2013
6:37 a.m.
On the following page in the Python 2.7.5 docs: http://docs.python.org/2/library/httplib.html In section 20.7.3, the last example has:
response = conn.getresponse()>>> print resp.status, response.reason
However it should be:
response = conn.getresponse()>>> print response.status, response.reason
Hope it helps! Alex.