mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
gh-117026: Remove outdated sentence in SimpleHTTPRequestHandler docs (GH-117027)
The code was changed in 0f7cddc308 (bpo-839496/gh-39531).
This commit is contained in:
parent
ac8df4b589
commit
ea2d707bd5
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