Commit 6dc55d5b authored by Georg Brandl's avatar Georg Brandl

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

parent 72042850
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment