You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -592,14 +592,13 @@ Here is an example session that shows how to ``POST`` requests::
592
592
b'Redirecting to <a href="https://bugs.python.org/issue12524">https://bugs.python.org/issue12524</a>'
593
593
>>> conn.close()
594
594
595
-
Client side ``HTTP PUT`` requests are very similar to ``POST`` requests. The
596
-
difference lies only the server side where HTTP server will allow resources to
597
-
be created via ``PUT`` request. It should be noted that custom HTTP methods
595
+
Client side HTTP ``PUT`` requests are very similar to ``POST`` requests. The
596
+
difference lies only on the server side where HTTP servers will allow resources to
597
+
be created via ``PUT`` requests. It should be noted that custom HTTP methods
598
598
are also handled in :class:`urllib.request.Request` by setting the appropriate
599
-
method attribute. Here is an example session that shows how to send a ``PUT``
600
-
request using http.client::
599
+
method attribute. Here is an example session that uses the ``PUT`` method::
601
600
602
-
>>> # This creates an HTTP message
601
+
>>> # This creates an HTTP request
603
602
>>> # with the content of BODY as the enclosed representation
604
603
>>> # for the resource http://localhost:8080/file
0 commit comments