mirror of https://github.com/fafhrd91/actix-web
re-export acceptencoding
This commit is contained in:
parent
ee81142595
commit
ef9d8da1f8
|
@ -31,7 +31,7 @@ common_header! {
|
|||
/// use actix_web::HttpResponse;
|
||||
/// use actix_web::http::header::{AcceptEncoding, Encoding, qitem};
|
||||
///
|
||||
/// let mut builder = HttpResponse::new();
|
||||
/// let mut builder = HttpResponse::Ok();
|
||||
/// builder.insert_header(
|
||||
/// AcceptEncoding(vec![qitem(Encoding::Chunked)])
|
||||
/// );
|
||||
|
@ -53,7 +53,7 @@ common_header! {
|
|||
/// use actix_web::HttpResponse;
|
||||
/// use actix_web::http::header::{AcceptEncoding, Encoding, QualityItem, q, qitem};
|
||||
///
|
||||
/// let mut builder = HttpResponse::new();
|
||||
/// let mut builder = HttpResponse::Ok();
|
||||
/// builder.insert_header(
|
||||
/// AcceptEncoding(vec![
|
||||
/// qitem(Encoding::Chunked),
|
||||
|
|
|
@ -46,9 +46,9 @@ mod preference;
|
|||
pub(crate) use macros::common_header_test;
|
||||
pub(crate) use macros::{common_header, common_header_test_module};
|
||||
|
||||
pub use self::accept_charset::AcceptCharset;
|
||||
//pub use self::accept_encoding::AcceptEncoding;
|
||||
pub use self::accept::Accept;
|
||||
pub use self::accept_charset::AcceptCharset;
|
||||
pub use self::accept_encoding::AcceptEncoding;
|
||||
pub use self::accept_language::AcceptLanguage;
|
||||
pub use self::allow::Allow;
|
||||
pub use self::cache_control::{CacheControl, CacheDirective};
|
||||
|
|
Loading…
Reference in New Issue