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

make werkzeug request handling more general #271

Merged
merged 1 commit into from
Jun 15, 2018
Merged

make werkzeug request handling more general #271

merged 1 commit into from
Jun 15, 2018

Conversation

rokob
Copy link
Contributor

@rokob rokob commented Jun 15, 2018

werkzeug.wrappers.Request is a subclass of .BaseRequest and we only need the methods defined on BaseRequest so we can use an isinstance check for the parent of the hierarchy. This allows people to subclass BaseRequest directly (which is recommended by werkzeug) and still get request data gathering working.

…eed the methods defined on BaseRequest so make werkzeug request handling more general
@rokob rokob merged commit b015f4a into master Jun 15, 2018
@rokob rokob mentioned this pull request Jun 15, 2018
@rokob rokob deleted the iss229 branch June 15, 2018 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant