diff options
Diffstat (limited to 'src/router_option.rs')
| -rw-r--r-- | src/router_option.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/router_option.rs b/src/router_option.rs index 62ecb47..a28ba6f 100644 --- a/src/router_option.rs +++ b/src/router_option.rs @@ -7,4 +7,7 @@ pub enum RouterOption { /// If enabled, adds a trailing slash to the request URL path if a route /// exists for the path with the slash (e.g., `/foo` becomes `/foo/`). AddMissingTrailingSlash, + /// If enabled, the router will perform case-insensitive matching for + /// incoming request URL paths (e.g., `/foo` will match `/Foo` or `/FOO`). + AllowCaseInsensitiveLookup, } |