mirror of
https://github.com/python/cpython.git
synced 2025-12-03 16:19:41 +00:00
fixes typos in http.client documentation (#18300)
This commit is contained in:
parent
90d9ba6ef1
commit
b94737a4af
1 changed files with 2 additions and 2 deletions
|
|
@ -586,8 +586,8 @@ Here is an example session that shows how to ``POST`` requests::
|
||||||
Client side ``HTTP PUT`` requests are very similar to ``POST`` requests. The
|
Client side ``HTTP PUT`` requests are very similar to ``POST`` requests. The
|
||||||
difference lies only the server side where HTTP server will allow resources to
|
difference lies only the server side where HTTP server will allow resources to
|
||||||
be created via ``PUT`` request. It should be noted that custom HTTP methods
|
be created via ``PUT`` request. It should be noted that custom HTTP methods
|
||||||
+are also handled in :class:`urllib.request.Request` by sending the appropriate
|
are also handled in :class:`urllib.request.Request` by setting the appropriate
|
||||||
+method attribute.Here is an example session that shows how to do ``PUT``
|
method attribute. Here is an example session that shows how to send a ``PUT``
|
||||||
request using http.client::
|
request using http.client::
|
||||||
|
|
||||||
>>> # This creates an HTTP message
|
>>> # This creates an HTTP message
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue