micro_http: export Error, StatusCode & Body
The request errors are needed for generating a status code
in the response. These are going to be used by an external crate
when creating a response.
@@ -5,5 +5,7 @@ mod response;
use common::ascii;
use common::headers;
-pub use request::Request;
-pub use response::Response;
+pub use request::{Error as RequestError, Request};
+pub use response::{Response, StatusCode};
+
+pub use common::Body;
