mirror of https://github.com/fafhrd91/actix-web
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:
parent
38dd705bf7
commit
36dadc5351
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Reference in New Issue