redirects 0

This commit is contained in:
Martin Algesten
2018-12-18 13:34:05 +01:00
parent 5ba6b3cd4d
commit 4151aab3b4
4 changed files with 53 additions and 10 deletions

View File

@@ -2,12 +2,12 @@ use crate::stream::Stream;
use chunked_transfer;
use std::io::{copy, empty, Cursor, Read, Result as IoResult};
#[cfg(feature = "charset")]
use crate::response::DEFAULT_CHARACTER_SET;
#[cfg(feature = "charset")]
use encoding::label::encoding_from_whatwg_label;
#[cfg(feature = "charset")]
use encoding::EncoderTrap;
#[cfg(feature = "charset")]
use crate::response::DEFAULT_CHARACTER_SET;
#[cfg(feature = "json")]
use super::SerdeValue;