We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c64648 commit 06b8c80Copy full SHA for 06b8c80
Lib/http/server.py
@@ -779,6 +779,7 @@ def send_head(self):
779
start, end = self._range
780
if start is None:
781
# parse_range() collapses (None, None) to None as it's invalid
782
+ # https://github.com/python/cpython/pull/118949#discussion_r1912397525
783
assert end is not None
784
# `end` here means suffix length
785
start = max(0, fs.st_size - end)
0 commit comments