mirror of https://github.com/python/cpython
gh-97822: Fix http.server documentation reference to test() function (#98027)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
parent
e82d977eb0
commit
6b485629d2
|
@ -392,8 +392,8 @@ provides three different variants:
|
|||
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.
|
||||
|
||||
For example usage, see the implementation of the :func:`test` function
|
||||
invocation in the :mod:`http.server` module.
|
||||
For example usage, see the implementation of the ``test`` function
|
||||
in :source:`Lib/http/server.py`.
|
||||
|
||||
.. versionchanged:: 3.7
|
||||
Support of the ``'If-Modified-Since'`` header.
|
||||
|
|
Loading…
Reference in New Issue