diff options
author | Géry Ogam <gery.ogam@gmail.com> | 2019-09-11 13:03:46 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2019-09-11 13:03:46 (GMT) |
commit | 781266ebb60e7ac781a3e07030d92275721ff3cf (patch) | |
tree | 8a39e79a64aa7421f2fc0f191ee2c053fa746966 /Doc/library/http.server.rst | |
parent | e1d455f3a3b82c2e08d5e133bcbab5a181b66cfb (diff) | |
download | cpython-781266ebb60e7ac781a3e07030d92275721ff3cf.zip cpython-781266ebb60e7ac781a3e07030d92275721ff3cf.tar.gz cpython-781266ebb60e7ac781a3e07030d92275721ff3cf.tar.bz2 |
bpo-35640: Allow passing PathLike arguments to SimpleHTTPRequestHandler (GH-11398)
Diffstat (limited to 'Doc/library/http.server.rst')
-rw-r--r-- | Doc/library/http.server.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index a367e37..5173dec 100644 --- a/Doc/library/http.server.rst +++ b/Doc/library/http.server.rst @@ -344,6 +344,9 @@ provides three different variants: If not specified, the directory to serve is the current working directory. + .. versionchanged:: 3.9 + Accepts a :term:`path-like object`. + The :class:`SimpleHTTPRequestHandler` class defines the following methods: .. method:: do_HEAD() |