Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add REQUEST_URI and RAW_REQUEST to environ #1419

Merged
merged 1 commit into from Dec 10, 2018
Merged

add REQUEST_URI and RAW_REQUEST to environ #1419

merged 1 commit into from Dec 10, 2018

Conversation

@davidism
Copy link
Member

@davidism davidism commented Dec 10, 2018

These non-standard but commonly implemented keys contain the raw request URI before percent-decoding. Gunicorn adds RAW_URI, mod_wsgi and uWSGI add REQUEST_URI. The development server and test client will add these keys, but nothing else is done with it. If you want to route based on this, you'll need to write some middleware to replace PATH_INFO.

Closes #766

These non-standard but commonly implemented keys contain the raw request
URI before percent-decoding.
@davidism davidism added this to the 0.15 milestone Dec 10, 2018
@davidism davidism merged commit 8190935 into master Dec 10, 2018
1 check passed
@davidism davidism deleted the environ-request-uri branch Dec 10, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

1 participant