Files
responder/tests
kennethreitz 0af78b801d Wrap MultiPartException on the buffered form-parse branch as a 400
_parsed_form's streaming branch converts Starlette's MultiPartException
into HTTPException(400), but the buffered branch (used when the body was
already read, or re-parsed after content access) called
starlette_req.form() bare. Starlette only self-converts that exception to
a 400 when "app" is in the ASGI scope — Responder sets "api" — so a
malformed or oversized multipart body (e.g. a text field past the ~1 MB
part limit) escaped as an unhandled 500 instead of the documented 400.
Wrap the buffered parse identically.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 11:16:15 -04:00
..
2018-10-13 13:59:46 +01:00
2026-06-28 10:37:14 -04:00
2026-06-30 12:02:24 -04:00
2026-07-05 05:59:05 -04:00
2026-06-30 12:29:49 -04:00
2026-06-30 12:02:24 -04:00
2026-06-30 12:29:49 -04:00
2026-06-30 13:04:51 -04:00
2026-06-30 12:02:24 -04:00