]> granicus.if.org Git - python/commitdiff
Correct the URL in the http.client example. Noted by Evens Fortuné. Closes #21229
authorSenthil Kumaran <senthil@uthcode.com>
Thu, 17 Apr 2014 03:33:02 +0000 (23:33 -0400)
committerSenthil Kumaran <senthil@uthcode.com>
Thu, 17 Apr 2014 03:33:02 +0000 (23:33 -0400)
Doc/library/http.client.rst

index 10704cef2d1b0536b3252213635604a5b5bb119c..9f6bcd1d6b72c3e35d57bb07cc09e2711b1a8d20 100644 (file)
@@ -660,7 +660,7 @@ request using http.client::
 
     >>> # This creates an HTTP message
     >>> # with the content of BODY as the enclosed representation
-    >>> # for the resource http://localhost:8080/foobar
+    >>> # for the resource http://localhost:8080/file
     ...
     >>> import http.client
     >>> BODY = "***filecontents***"