]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-117026: Remove outdated sentence in SimpleHTTPRequestHandler docs (GH-11702...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 16 May 2025 19:24:05 +0000 (21:24 +0200)
committerGitHub <noreply@github.com>
Fri, 16 May 2025 19:24:05 +0000 (22:24 +0300)
The code was changed in 0f7cddc308b297e6a1c2dd61503acea38401656f (bpo-839496/gh-39531).
(cherry picked from commit ea2d707bd59963bd4f53407108026930ff12ae56)

Co-authored-by: Saleh Dehqanpour <salehdeh76@gmail.com>
Doc/library/http.server.rst

index 1b00b09bf6da7f7cfa808c504ac9459448f48ff2..3618cafd4313da34fa1dcb7f10a54d7bb566d72c 100644 (file)
@@ -389,8 +389,7 @@ provides three different variants:
       ``'Last-Modified:'`` header with the file's modification time.
 
       Then follows a blank line signifying the end of the headers, and then the
-      contents of the file are output. If the file's MIME type starts with
-      ``text/`` the file is opened in text mode; otherwise binary mode is used.
+      contents of the file are output.
 
       For example usage, see the implementation of the ``test`` function
       in :source:`Lib/http/server.py`.