https://github.com/python/cpython/commit/7a5851dc902a86d76c194caede9c24e98ec70a37
commit: 7a5851dc902a86d76c194caede9c24e98ec70a37
branch: 3.14
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: serhiy-storchaka <storch...@gmail.com>
date: 2025-05-16T22:23:52+03:00
summary:

[3.14] gh-117026: Remove outdated sentence in SimpleHTTPRequestHandler docs 
(GH-117027) (GH-134107)

The code was changed in 0f7cddc308b297e6a1c2dd61503acea38401656f 
(bpo-839496/gh-39531).
(cherry picked from commit ea2d707bd59963bd4f53407108026930ff12ae56)

Co-authored-by: Saleh Dehqanpour <salehde...@gmail.com>

files:
M Doc/library/http.server.rst

diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst
index 54df4a7e804d50..02016c789b24b4 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`.

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to