1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
// #![feature(specialization)] // #![feature(proc_macro_hygiene)] // #![feature(crate_visibility_modifier)] // #![feature(doc_cfg)] // #![recursion_limit="512"] //! Types that map to concepts in HTTP. //! //! This module exports types that map to HTTP concepts or to the underlying //! HTTP library when needed. Because the underlying HTTP library is likely to //! change (see [#17]), types in [`hyper`] should be considered unstable. //! //! [#17]: https://github.com/SergioBenitez/Novel/issues/17 mod request; mod response; pub mod body_chunk; pub mod form; pub mod multipart; pub mod errors; pub use request::Request; pub use response::{Response, BodyWriter}; pub use http::{method::Method, StatusCode, HeaderMap, HeaderValue}; pub use body_chunk::BodyChunk; pub use mime::Mime; pub use hyper::Body; pub use cookie; pub mod header { pub use http::header::*; }