opened
AmaliaSoucek
username_0
Marked request with _mark_post_parse_error in response_for_exception
if exc is RequestDataTooBig to prevent attempts to access POST data
again.
Fixed #27820 -- avoided RequestDataTooBig in response_for_exception
issue
created
timgraham
username_1
I'm not sure if this is the best place to put the fix. Any thoughts @username_2?

Also, I wonder if a more high level test would be better instead of testing `response_for_exception()` directly (considering that HTTP handling is sometimes refactored, it might not be obvious how to adapt the test).

After we decide on how to proceed, please send the pull request to master instead of stable/1.10.x We backport fixes to the stable branches after committing to master. Thanks!
comment
created
edevil
username_2
The place for the ```_mark_post_parse_error()``` seems fine at a first glance.
comment
created
timgraham
username_1
Amalia, as noted on the ticket, please also fix the issue for `TooManyFields`. Thanks!
comment
created
AmaliaSoucek
username_0
Thanks for the review! I'll do that!
comment