-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
gh-86809: Add support for HTTP Range header in HTTPServer #118949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
lyc8503
wants to merge
24
commits into
python:main
Choose a base branch
from
lyc8503:gh-86809
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+198
−17
Open
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
e81d46e
Add support for HTTP Range header in SimpleHTTPServer
lyc8503 9bc811f
Add handling for cases where start is greater than end in a Range and…
lyc8503 ac7b0fa
Add support for suffix in Range header
lyc8503 d23a60d
Use precompiled pattern and some small improvements
lyc8503 e985c67
Add some more testcases
lyc8503 1ca0ff7
Coding style improvements
lyc8503 8b9ae26
Make range a keyword only arg
lyc8503 ca84b1c
Add docs
lyc8503 b266ff4
Error handling and testcase improve
lyc8503 2824b9c
Send content-range when not satisfiable
lyc8503 b5d9ffc
Improve docs
lyc8503 48a8523
Improve docs
lyc8503 77436b3
Update RFC reference and some minor code fixes
lyc8503 c2cc2d4
Add extra headers param and docs
lyc8503 aa9ec6b
Apply suggestions from code review
lyc8503 abd519f
Merge branch 'python:main' into gh-86809
lyc8503 a0bca0a
Keyword-only argument
lyc8503 42c69ab
Improve test cases and code
lyc8503 48508f6
Fix corner case on empty file and add testcase
lyc8503 7c94aae
Split testcases
lyc8503 5c64648
Suggestions from review
lyc8503 06b8c80
Add link to github discussion
lyc8503 3033c27
Update Doc/whatsnew/3.14.rst
lyc8503 e4b3607
Merge branch 'main' into gh-86809
lyc8503 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
Add support for HTTP Range header in SimpleHTTPServer
- Loading branch information
commit e81d46ea26b7c7e5302db3609cc39c394117ae34
There are no files selected for viewing
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
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
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Library/2024-05-12-00-15-44.gh-issue-86809._5vdGa.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Add support for HTTP Range header in ``SimpleHTTPServer`` | ||
lyc8503 marked this conversation as resolved.
Show resolved
Hide resolved
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.