Skip to content

Commit 4778206

Browse files
jcomeauictxpicnixz
andauthored
Update Doc/library/http.server.rst
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 339b3ee commit 4778206

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/http.server.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@ provides three different variants:
169169

170170
.. attribute:: default_content_type
171171

172-
Specifies the content-type header value sent when the mime-type cannot
173-
be guessed from the file extension of the requested URL.
174-
For backwards compatibility, the setting defaults to
175-
``'application/octet-stream'``.
172+
Specifies the content-type header value sent when the MIME type
173+
cannot be guessed from the file extension of the requested URL.
174+
By default, it is set to ``'application/octet-stream'``.
176175

176+
.. versionadded:: next
177177
.. attribute:: MessageClass
178178

179179
Specifies an :class:`email.message.Message`\ -like class to parse HTTP

0 commit comments

Comments
 (0)