Skip to content

Accept uppercase params #489

Answered by vincentsarago
fabry24 asked this question in Q&A
Discussion options

You must be logged in to vote

This is already possible if you use the LowerCaseQueryStringMiddleware middleware introduced in #321

in the default titiler application you can set TITILER_API_LOWER_CASE_QUERY_PARAMTERS=TRUE environment to activate it

if api_settings.lower_case_query_parameters:
app.add_middleware(LowerCaseQueryStringMiddleware)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@vincentsarago
Comment options

Answer selected by fabry24
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants