Skip to content

Commit ca84b1c

Browse files
committed
Add docs
1 parent 8b9ae26 commit ca84b1c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Doc/library/http.server.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ 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+
4447
.. class:: ThreadingHTTPServer(server_address, RequestHandlerClass)
4548

4649
This class is identical to HTTPServer but uses threads to handle

Doc/whatsnew/3.14.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +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`.
412+
(Contributed by Andy Ling in :gh:`86809`.)
411413

412414
inspect
413415
-------
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Add support for HTTP Range header in :class:`SimpleHTTPServer`. Add an optional
2-
``range`` paramater to :func:`SimpleHTTPRequestHandler.copyfile`.
1+
Added support for HTTP Range header to :class:`~http.server.HTTPServer`.

0 commit comments

Comments
 (0)