mirror of
https://github.com/python/cpython.git
synced 2025-10-03 13:45:29 +00:00
gh-97822: Fix http.server documentation reference to test() function (GH-98027)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 6b485629d2
)
Co-authored-by: JasonYZ <yurenzhang2017@gmail.com>
This commit is contained in:
parent
e493792612
commit
b5196faff3
1 changed files with 2 additions and 2 deletions
|
@ -392,8 +392,8 @@ provides three different variants:
|
||||||
contents of the file are output. If the file's MIME type starts with
|
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.
|
``text/`` the file is opened in text mode; otherwise binary mode is used.
|
||||||
|
|
||||||
For example usage, see the implementation of the :func:`test` function
|
For example usage, see the implementation of the ``test`` function
|
||||||
invocation in the :mod:`http.server` module.
|
in :source:`Lib/http/server.py`.
|
||||||
|
|
||||||
.. versionchanged:: 3.7
|
.. versionchanged:: 3.7
|
||||||
Support of the ``'If-Modified-Since'`` header.
|
Support of the ``'If-Modified-Since'`` header.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue