-
Notifications
You must be signed in to change notification settings - Fork 12
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
Explicitly store request data #78
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Mostly looks good but I left a few suggestions. I think it would also be best if the commit message could be expanded a bit to describe what is being done here at a high level.
I added the changes you requested. |
I didn't check every test set, but it looks like the failures are the only ones using werkzeug v1, which doesn't have the I'd say that this would be an issue of the test using httpserver rather than an issue of httpserver itself.
|
I think it's okay to drop the JSON test, because as you mentioned, it should be pretty safe to assume Werkzeug ensures that if Another option would be to make the test conditional on the Werkzeug version, probably using |
I decided to drop test, as it would be pretty complicated for something that doesn't really add any benefit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! One last thing I only just noticed, could you add yourself to the AUTHORS
file? (as a separate commit should be fine) Then this will be good to go.
Other than that, the one remaining nice-to-have item would be to expand the commit message for the commit that adds store_request_data
, but given that we don't have any documented guidance on commit messages I'm not considering that a blocker.
for more information, see https://pre-commit.ci
Should I fix that line that's too long for flake8? It's not part of my changes. |
Nah don't worry about it. I'll take care of fixing the remaining pre-commit failures in another PR. For now I can force-merge this one for you. (If necessary - I guess the pre-commit failure might not even be a blocker yet) |
Closes #77