diff options
-rw-r--r-- | Doc/library/http.client.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst index 8137573..6931fc6 100644 --- a/Doc/library/http.client.rst +++ b/Doc/library/http.client.rst @@ -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: |