MultiPartParser's LimitBytes is now redundant.
|Reported by:||Tom Christie||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
It appears that MultiPartParser's use of LimitBytes is now redundant, as byte limiting is enforced by the underlying stream. (Eg WSGIRequest wraps the stream in a LimitedStream wrapper if required.)
I've attached a patch, and a simple sanity check test. This patch relies on #15762, so you'll need to apply both sets of patches.