]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commit
✨ Allow custom middlewares to raise `HTTPException`s and propagate them (#2036)
authorAndy Challis <andy.challis@capgemini.com>
Thu, 25 Aug 2022 21:44:40 +0000 (07:44 +1000)
committerGitHub <noreply@github.com>
Thu, 25 Aug 2022 21:44:40 +0000 (23:44 +0200)
commiteb3ab337ab49d1904f027c0a523456cfe40d582d
treeb3289c14275dafd23c54e7b14ade6eec535d14a6
parent5215b39d5081dab2145fb682d832a93649d26063
✨ Allow custom middlewares to raise `HTTPException`s and propagate them (#2036)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
fastapi/routing.py
tests/test_custom_middleware_exception.py [new file with mode: 0644]