Fix typo in httplib example.

This fixes SF bug #495221.
This commit is contained in:
Fred Drake 2001-12-21 03:52:04 +00:00
parent 23d45f4744
commit dce2e1161a
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ Here is an example session that shows how to \samp{POST} requests:
... "Accept": "text/plain"}
>>> conn = httplib.HTTPConnection("musi-cal.mojam.com:80")
>>> conn.request("POST", "/cgi-bin/query", params, headers)
>>> response = h.getresponse()
>>> response = conn.getresponse()
>>> print response.status, response.reason
200 OK
>>> data = response.read()