From: Saleh Dehqanpour Date: Fri, 16 May 2025 19:12:40 +0000 (+0330) Subject: gh-117026: Remove outdated sentence in SimpleHTTPRequestHandler docs (GH-117027) X-Git-Tag: v3.15.0a1~1700 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea2d707bd59963bd4f53407108026930ff12ae56;p=thirdparty%2FPython%2Fcpython.git gh-117026: Remove outdated sentence in SimpleHTTPRequestHandler docs (GH-117027) The code was changed in 0f7cddc308b297e6a1c2dd61503acea38401656f (bpo-839496/gh-39531). --- diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index 54df4a7e804d..02016c789b24 100644 --- a/Doc/library/http.server.rst +++ b/Doc/library/http.server.rst @@ -429,8 +429,7 @@ instantiation, of which this module 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`.