-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for Range header to StaticFileServer (#9154)
A Range header can specify either a single byte range, e.g. Range: bytes=0-99, or multiple ranges, e.g. Range: bytes=0-99, 200-299. The ranges do not need to be sequential and can have overlap; e.g. Range: bytes=200-299, 0-219 is valid; such requests will open a new stream reading from the beginning of the file for each out-of-order range. The motivation for this feature is to support video playback on Safari. Fixes #9083
- Loading branch information
Showing
2 changed files
with
358 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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
Oops, something went wrong.