mirror of
https://github.com/actix/actix-web.git
synced 2024-11-20 08:31:09 +00:00
export Body
This commit is contained in:
parent
be7bda65ef
commit
9653a1fa98
3 changed files with 2 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
|||
pub use ws;
|
||||
pub use httpcodes;
|
||||
pub use application::Application;
|
||||
pub use httpmessage::{HttpRequest, HttpResponse, IntoHttpResponse};
|
||||
pub use httpmessage::{Body, HttpRequest, HttpResponse, IntoHttpResponse};
|
||||
pub use payload::{Payload, PayloadItem};
|
||||
pub use router::RoutingMap;
|
||||
pub use resource::{Reply, Resource};
|
||||
|
|
|
@ -37,7 +37,7 @@ pub mod ws;
|
|||
pub mod dev;
|
||||
pub mod httpcodes;
|
||||
pub use application::Application;
|
||||
pub use httpmessage::{HttpRequest, HttpResponse, IntoHttpResponse};
|
||||
pub use httpmessage::{Body, HttpRequest, HttpResponse, IntoHttpResponse};
|
||||
pub use payload::{Payload, PayloadItem};
|
||||
pub use router::RoutingMap;
|
||||
pub use resource::{Reply, Resource};
|
||||
|
|
|
@ -138,7 +138,6 @@ impl Router {
|
|||
return app.handle(req, payload)
|
||||
}
|
||||
}
|
||||
|
||||
Task::reply(IntoHttpResponse::response(HTTPNotFound, req))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue