]> git.ipfire.org Git - thirdparty/tornado.git/commit
httputil: Raise errors instead of logging in multipart/form-data parsing 3497/head
authorBen Darnell <ben@bendarnell.com>
Thu, 8 May 2025 17:29:43 +0000 (13:29 -0400)
committerBen Darnell <ben@bendarnell.com>
Thu, 15 May 2025 19:33:25 +0000 (15:33 -0400)
commitcc61050e8f26697463142d99864b562e8470b41d
treeeee93dad455d5d243584b7a470144f7fece5c300
parentae4a4e4feafc631c3dba64c3fbe185d05c37e356
httputil: Raise errors instead of logging in multipart/form-data parsing

We used to continue after logging an error, which allowed repeated
errors to spam the logs. The error raised here will still be logged,
but only once per request, consistent with other error handling in
Tornado.
tornado/httputil.py
tornado/test/httpserver_test.py
tornado/test/httputil_test.py
tornado/web.py