mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-24 20:26:25 +01:00
fix(cmn): use bytes=... when sending as well
Previously, `bytes=` was just parsed, but not sent to the server. This change is motivated by a similar change in this commit: http://goo.gl/AvyvLb
This commit is contained in:
@@ -440,7 +440,7 @@ impl Header for ContentRange {
|
||||
|
||||
impl HeaderFormat for ContentRange {
|
||||
fn fmt_header(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
|
||||
try!(fmt.write_str("bytes "));
|
||||
try!(fmt.write_str("bytes="));
|
||||
match self.range {
|
||||
Some(ref c) => try!(c.fmt(fmt)),
|
||||
None => try!(fmt.write_str("*"))
|
||||
|
||||
Reference in New Issue
Block a user