diff options
Diffstat (limited to 'Doc/library')
| -rw-r--r-- | Doc/library/http.server.rst | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index 5173decb2b..478a5b3147 100644 --- a/Doc/library/http.server.rst +++ b/Doc/library/http.server.rst @@ -335,11 +335,14 @@ provides three different variants: .. attribute:: extensions_map - A dictionary mapping suffixes into MIME types. The default is - signified by an empty string, and is considered to be - ``application/octet-stream``. The mapping is used case-insensitively, + A dictionary mapping suffixes into MIME types, contains custom overrides + for the default system mappings. The mapping is used case-insensitively, and so should contain only lower-cased keys. + .. versionchanged:: 3.9 + This dictionary is no longer filled with the default system mappings, + but only contains overrides. + .. attribute:: directory If not specified, the directory to serve is the current working directory. |
