Commit d6896507 authored by Georg Brandl's avatar Georg Brandl

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

parent 775ba9b4
......@@ -626,6 +626,6 @@ be created via ``PUT`` request. Here is an example session that shows how to do
>>> conn = httplib.HTTPConnection("localhost", 8080)
>>> conn.request("PUT", "/file", BODY)
>>> response = conn.getresponse()
>>> print resp.status, response.reason
>>> print response.status, response.reason
200, OK
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