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

Conversation

Projects
None yet
1 participant
@davidism
Copy link
Member

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

add REQUEST_URI and RAW_REQUEST to environ
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

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@davidism davidism deleted the environ-request-uri branch Dec 10, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.