//! The HTTP server.
//!
//! The module provides all functionality exposed by the HTTP server to
//! those interested. The only public item, [`http_listener`] creates all
//! necessary networking services based on the current configuration and
//! returns a future that drives the server.
// Allow the dispatcher to return the original request in the Err variant.
pub use http_listener;
pub use ContentType;
// First, a bit of scaffolding. `dispatch` contains the state necessary for
// answering requests and dispatches to the specific handlers.
// `listener` contains all the logic to actually handle connections etc.
// The following modules helps dealing with requests and responses
// Finally, these modules actually handle requests.