Skip to content

Commit 33937b2

Browse files
committed
fixups?
1 parent 370d265 commit 33937b2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Doc/library/http.server.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,8 +499,9 @@ instantiation, of which this module provides three different variants:
499499
a MIME Content-type header.
500500

501501
The default implementation looks the file's extension up in
502-
:attr:`extensions_map` and :func:`mimetypes.guess_file_type`,
503-
using :attr:`default_content_type` as defaults.
502+
:attr:`extensions_map`, falling back to
503+
:func:`mimetypes.guess_file_type` and then to
504+
:attr:`default_content_type`.
504505

505506
.. versionchanged:: 3.13
506507
Add :func:`mimetypes.guess_file_type` as a fallback.

0 commit comments

Comments
 (0)