fixes typos in http.client documentation (#18300)
https://github.com/python/cpython/commit/b94737a4af96b29bd4c025724f671e7bc0f... commit: b94737a4af96b29bd4c025724f671e7bc0f6b6f1 branch: master author: James Corbett <james.h.corbett@gmail.com> committer: GitHub <noreply@github.com> date: 2020-02-01T04:31:00-08:00 summary: fixes typos in http.client documentation (#18300) files: M Doc/library/http.client.rst diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst index 807dd8bd379a0..35997db2a9d27 100644 --- a/Doc/library/http.client.rst +++ b/Doc/library/http.client.rst @@ -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 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
participants (1)
-
James Corbett