Explicitly store request data - #78
Conversation
diazona
left a comment
There was a problem hiding this comment.
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. |
diazona
left a comment
There was a problem hiding this comment.
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