mirror of https://github.com/fafhrd91/actix-web
move common headers to actix-web/http
This commit is contained in:
parent
303b718c62
commit
db2b062c13
|
@ -0,0 +1,2 @@
|
|||
pub mod header;
|
||||
pub use actix_http::http::*;
|
|
@ -84,6 +84,7 @@ pub mod error;
|
|||
mod extract;
|
||||
pub mod guard;
|
||||
mod handler;
|
||||
pub mod http;
|
||||
mod info;
|
||||
pub mod middleware;
|
||||
mod request;
|
||||
|
@ -117,11 +118,6 @@ pub use crate::server::HttpServer;
|
|||
// TODO: is exposing the error directly really needed
|
||||
pub use crate::types::{Either, EitherExtractError};
|
||||
|
||||
pub mod http {
|
||||
pub use crate::types::header;
|
||||
pub use actix_http::http::*;
|
||||
}
|
||||
|
||||
pub mod dev {
|
||||
//! The `actix-web` prelude for library developers
|
||||
//!
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
// TODO: review visibility
|
||||
mod either;
|
||||
pub(crate) mod form;
|
||||
pub mod header;
|
||||
pub(crate) mod json;
|
||||
mod path;
|
||||
pub(crate) mod payload;
|
||||
|
|
Loading…
Reference in New Issue