mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
Correct the URL in the http.client example. Noted by Evens Fortuné. Closes #21229
This commit is contained in:
parent
f7f981829b
commit
8b4a272c98
1 changed files with 1 additions and 1 deletions
|
|
@ -660,7 +660,7 @@ request using http.client::
|
||||||
|
|
||||||
>>> # This creates an HTTP message
|
>>> # This creates an HTTP message
|
||||||
>>> # with the content of BODY as the enclosed representation
|
>>> # with the content of BODY as the enclosed representation
|
||||||
>>> # for the resource http://localhost:8080/foobar
|
>>> # for the resource http://localhost:8080/file
|
||||||
...
|
...
|
||||||
>>> import http.client
|
>>> import http.client
|
||||||
>>> BODY = "***filecontents***"
|
>>> BODY = "***filecontents***"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue