Merge pull request #1321 from Eijebong/export_raw_status

fix(lib): Export hyper::RawStatus if the raw_status feature is enabled
This commit is contained in:
Sean McArthur
2017-09-15 13:40:11 -07:00
committed by GitHub

View File

@@ -49,6 +49,8 @@ pub use method::Method::{self, Get, Head, Post, Put, Delete};
pub use status::StatusCode::{self, Ok, BadRequest, NotFound};
pub use server::Server;
pub use version::HttpVersion;
#[cfg(feature = "raw_status")]
pub use http::RawStatus;
#[cfg(test)]
mod mock;