mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
merge with 3.3
This commit is contained in:
commit
92666d9c2b
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue