mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-04-20 06:54:46 +00:00
use upstream Access-Control-Request-Method route matcher
This commit is contained in:
parent
38feb5b781
commit
31835fe57f
4 changed files with 1 additions and 106 deletions
|
@ -1,4 +1,3 @@
|
|||
use crate::matcher::AccessControlRequestMethodMatcher;
|
||||
use gotham::{
|
||||
handler::HandlerFuture,
|
||||
helpers::http::response::create_empty_response,
|
||||
|
@ -12,7 +11,7 @@ use gotham::{
|
|||
},
|
||||
middleware::Middleware,
|
||||
pipeline::chain::PipelineHandleChain,
|
||||
router::builder::*,
|
||||
router::{builder::*, route::matcher::AccessControlRequestMethodMatcher},
|
||||
state::{FromState, State}
|
||||
};
|
||||
use itertools::Itertools;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue