mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-04-20 06:54:46 +00:00
cors preflight
This commit is contained in:
parent
748bf65d3e
commit
f20c768d02
6 changed files with 182 additions and 12 deletions
|
@ -8,6 +8,10 @@ pub use accept::AcceptHeaderMatcher;
|
|||
mod content_type;
|
||||
pub use content_type::ContentTypeMatcher;
|
||||
|
||||
#[cfg(feature = "cors")]
|
||||
mod access_control_request_method;
|
||||
pub use access_control_request_method::AccessControlRequestMethodMatcher;
|
||||
|
||||
type LookupTable = HashMap<String, Vec<usize>>;
|
||||
|
||||
trait LookupTableFromTypes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue