FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-151945: fix Sphinx reference warnings in `http.server` docs (GH-153084) by picnixz · Pull Request #153088 · python/cpython · GitHub

Repository navigation

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
Prev Previous commit
Next Next commit
fix default content type ref
  • Loading branch information
picnixz committed Jul 5, 2026
commit e70bf19458270ab8284841fb73fbb5bd3fba3516
2 changes: 1 addition & 1 deletion Doc/library/http.server.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ provides three different variants:
The default implementation looks the file's extension up in
:attr:`extensions_map`, falling back to
:func:`mimetypes.guess_file_type` and then to
:attr:`default_content_type`.
:attr:`'application/octet-stream'`.
Comment thread
picnixz marked this conversation as resolved.
Resolved

.. versionchanged:: 3.13
Add :func:`mimetypes.guess_file_type` as a fallback.
Expand Down
Loading

Back | FazBrowse Home | New Git URL