Refactor gzip and brotli bools into an Accepts struct

This commit is contained in:
Sean McArthur
2020-03-03 16:10:06 -08:00
parent 2f875255e1
commit a06e03edf4
4 changed files with 94 additions and 44 deletions

View File

@@ -1,9 +1,11 @@
pub use self::body::Body;
pub use self::client::{Client, ClientBuilder};
pub(crate) use self::decoder::Decoder;
pub use self::request::{Request, RequestBuilder};
pub use self::response::{Response, ResponseBuilderExt};
#[cfg(feature = "blocking")]
pub(crate) use self::decoder::Decoder;
pub mod body;
pub mod client;
pub mod decoder;