8000 [3.13] gh-117026: Remove outdated sentence in SimpleHTTPRequestHandle… · python/cpython@4291bbe · GitHub
[go: up one dir, main page]

Skip to content

Commit 4291bbe

Browse files
[3.13] gh-117026: Remove outdated sentence in SimpleHTTPRequestHandler docs (GH-117027) (GH-134108)
The code was changed in 0f7cddc (bpo-839496/gh-39531). (cherry picked from commit ea2d707) Co-authored-by: Saleh Dehqanpour <salehdeh76@gmail.com>
1 parent 8077e22 commit 4291bbe

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
@@ -389,8 +389,7 @@ provides three different variants:
389389
``'Last-Modified:'`` header with the file's modification time.
390390

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

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

0 commit comments

Comments
 (0)
0