typo: bytes=bytes=0-9 to bytes=0-9 (#3934)

* typo: bytes=bytes=0-9 to bytes=0-9

* fix: ci

* fix: ci
This commit is contained in:
cui 2026-02-16 19:54:34 +08:00 committed by GitHub
parent 38dd705bf7
commit 36dadc5351
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ pub struct HttpRange {
impl HttpRange {
/// Parses Range HTTP header string as per RFC 2616.
///
/// `header` is HTTP Range header (e.g. `bytes=bytes=0-9`).
/// `header` is HTTP Range header (e.g. `bytes=0-9`).
/// `size` is full size of response (file).
pub fn parse(header: &str, size: u64) -> Result<Vec<HttpRange>, ParseRangeErr> {
let ranges =