From: James Corbett Date: Sat, 1 Feb 2020 12:31:00 +0000 (-0800) Subject: fixes typos in http.client documentation (#18300) X-Git-Tag: v3.9.0a4~157 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b94737a4af96b29bd4c025724f671e7bc0f6b6f1;p=thirdparty%2FPython%2Fcpython.git fixes typos in http.client documentation (#18300) --- diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst index 807dd8bd379a..35997db2a9d2 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