Skip to content

Commit b5d9ffc

Browse files
committed
Improve docs
1 parent 2824b9c commit b5d9ffc

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

Doc/library/http.server.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ handler. Code to create and run the server looks like this::
4141
:attr:`server_port`. The server is accessible by the handler, typically
4242
through the handler's :attr:`server` instance variable.
4343

44-
.. versionchanged:: next
45-
Added support for HTTP Range header.
46-
4744
.. class:: ThreadingHTTPServer(server_address, RequestHandlerClass)
4845

4946
This class is identical to HTTPServer but uses threads to handle
@@ -337,6 +334,10 @@ provides three different variants:
337334
.. versionchanged:: 3.9
338335
The *directory* parameter accepts a :term:`path-like object`.
339336

337+
.. versionchanged:: next
338+
Added support for HTTP single-part Range header, as specified in
339+
:rfc:`7233`.
340+
340341
A lot of the work, such as parsing the request, is done by the base class
341342
:class:`BaseHTTPRequestHandler`. This class implements the :func:`do_GET`
342343
and :func:`do_HEAD` functions.

Doc/whatsnew/3.14.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,8 @@ http
408408
module allow the browser to apply its default dark mode.
409409
(Contributed by Yorik Hansen in :gh:`123430`.)
410410

411-
* Added support for HTTP Range header to :class:`~http.server.HTTPServer`.
411+
* Added support for HTTP single-part Range header to
412+
:class:`~http.server.SimpleHTTPRequestHandler`, as specified in :rfc:`7233`.
412413
(Contributed by Andy Ling in :gh:`86809`.)
413414

414415
inspect
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Added support for HTTP Range header to :class:`~http.server.HTTPServer`.
1+
Added support for HTTP single-part Range header to :class:`~http.server.SimpleHTTPRequestHandler`, as specified in :rfc:`7233`.

0 commit comments

Comments
 (0)