Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dce2e11

Browse files
committed
Fix typo in httplib example.
This fixes SF bug #495221.
1 parent 23d45f4 commit dce2e11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/lib/libhttplib.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ \subsection{Examples \label{httplib-examples}}
214214
... "Accept": "text/plain"}
215215
>>> conn = httplib.HTTPConnection("musi-cal.mojam.com:80")
216216
>>> conn.request("POST", "/cgi-bin/query", params, headers)
217-
>>> response = h.getresponse()
217+
>>> response = conn.getresponse()
218218
>>> print response.status, response.reason
219219
200 OK
220220
>>> data = response.read()

0 commit comments

Comments
 (0)