We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c12711 commit d277a56Copy full SHA for d277a56
Doc/library/http.client.rst
@@ -649,7 +649,7 @@ request using http.client::
649
>>> conn = http.client.HTTPConnection("localhost", 8080)
650
>>> conn.request("PUT", "/file", BODY)
651
>>> response = conn.getresponse()
652
- >>> print(resp.status, response.reason)
+ >>> print(response.status, response.reason)
653
200, OK
654
655
.. _httpmessage-objects:
0 commit comments