8000 gh-117026: Remove outdated sentence in SimpleHTTPRequestHandler docs … · python/cpython@ea2d707 · GitHub
[go: up one dir, main page]

Skip to content

Commit ea2d707

Browse files
gh-117026: Remove outdated sentence in SimpleHTTPRequestHandler docs (GH-117027)
The code was changed in 0f7cddc (bpo-839496/gh-39531).
1 parent ac8df4b commit ea2d707

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Doc/library/http.server.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,7 @@ instantiation, of which this module provides three different variants:
429429
``'Last-Modified:'`` header with the file's modification time.
430430

431431
Then follows a blank line signifying the end of the headers, and then the
432-
contents of the file are output. If the file's MIME type starts with
433-
``text/`` the file is opened in text mode; otherwise binary mode is used.
432+
contents of the file are output.
434433

435434
For example usage, see the implementation of the ``test`` function
436435
in :source:`Lib/http/server.py`.

0 commit comments

Comments
 (0)
0