Fix minor bug in httplib example. Found by Alex MacAulay on docs@.

This commit is contained in:
Georg Brandl 2013-10-06 12:42:18 +02:00
parent 3c1271142d
commit d277a56af3
1 changed files with 1 additions and 1 deletions

View File

@ -649,7 +649,7 @@ request using http.client::
>>> conn = http.client.HTTPConnection("localhost", 8080)
>>> conn.request("PUT", "/file", BODY)
>>> response = conn.getresponse()
>>> print(resp.status, response.reason)
>>> print(response.status, response.reason)
200, OK
.. _httpmessage-objects: