mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[3.14] gh-117026: Remove outdated sentence in SimpleHTTPRequestHandler docs (GH-117027) (GH-134107)
The code was changed in0f7cddc308
(bpo-839496/gh-39531). (cherry picked from commitea2d707bd5
) Co-authored-by: Saleh Dehqanpour <salehdeh76@gmail.com>
This commit is contained in:
parent
c8dcde4d5e
commit
7a5851dc90
1 changed files with 1 additions and 2 deletions
|
@ -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`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue