1
0
Fork 0
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:
Dominic 2020-09-15 15:20:04 +02:00
parent 38feb5b781
commit 31835fe57f
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
4 changed files with 1 additions and 106 deletions

View file

@ -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;