diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-02-03 04:07:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-03 04:07:19 -0800 |
commit | db2f3114b2be4f3ee81a3258a979327d539ab51a (patch) | |
tree | 205eb3b65546f198373686cc53cdbc32ffddd22f | |
parent | 02395fad8e3a35ef00fa31c308693844013a1dd4 (diff) | |
download | cpython-git-db2f3114b2be4f3ee81a3258a979327d539ab51a.tar.gz |
fixes typos in http.client documentation (GH-18300)
(cherry picked from commit b94737a4af96b29bd4c025724f671e7bc0f6b6f1)
Co-authored-by: James Corbett <james.h.corbett@gmail.com>
-rw-r--r-- | Doc/library/http.client.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst index 9cdabc2a03..be31c3c071 100644 --- a/Doc/library/http.client.rst +++ b/Doc/library/http.client.rst @@ -563,8 +563,8 @@ Here is an example session that shows how to ``POST`` requests:: 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 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 -+method attribute.Here is an example session that shows how to do ``PUT`` +are also handled in :class:`urllib.request.Request` by setting the appropriate +method attribute. Here is an example session that shows how to send a ``PUT`` request using http.client:: >>> # This creates an HTTP message |