Skip to content

Commit 5b307ea

Browse files
jameshcorbettmiss-islington
authored andcommitted
fixes typos in http.client documentation (pythonGH-18300)
(cherry picked from commit b94737a) Co-authored-by: James Corbett <james.h.corbett@gmail.com>
1 parent 1723687 commit 5b307ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Doc/library/http.client.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,8 +563,8 @@ Here is an example session that shows how to ``POST`` requests::
563563
Client side ``HTTP PUT`` requests are very similar to ``POST`` requests. The
564564
difference lies only the server side where HTTP server will allow resources to
565565
be created via ``PUT`` request. It should be noted that custom HTTP methods
566-
+are also handled in :class:`urllib.request.Request` by sending the appropriate
567-
+method attribute.Here is an example session that shows how to do ``PUT``
566+
are also handled in :class:`urllib.request.Request` by setting the appropriate
567+
method attribute. Here is an example session that shows how to send a ``PUT``
568568
request using http.client::
569569

570570
>>> # This creates an HTTP message

0 commit comments

Comments
 (0)