2694 removed max part limit from application/x-www-form-urlencoded parsing, previously added in #2620. However, it left the except ValueError: raise RequestEntityTooLarge. If body.decode() raised a UnicodeError, it resulted in a 413 error rather than being silently ignored. This restores that previous behavior.
2694 removed max part limit from
application/x-www-form-urlencoded
parsing, previously added in #2620. However, it left theexcept ValueError: raise RequestEntityTooLarge
. Ifbody.decode()
raised aUnicodeError
, it resulted in a 413 error rather than being silently ignored. This restores that previous behavior.fixes #2930