Merge pull request #30 from reem/dont-lose-transfer-encoding
Parse Transfer Encodings that we don't handle
This commit is contained in:
@@ -48,7 +48,10 @@ impl FromStr for Encoding {
|
||||
fn from_str(s: &str) -> Option<Encoding> {
|
||||
match s {
|
||||
"chunked" => Some(Chunked),
|
||||
_ => None
|
||||
"deflate" => Some(Deflate),
|
||||
"gzip" => Some(Gzip),
|
||||
"compress" => Some(Compress),
|
||||
_ => Some(EncodingExt(s.to_string()))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user