]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commit
🐛 Fix empty reponse body when default `status_code` is empty but the a `Response...
authorThomas Meckel <14177833+tmeckel@users.noreply.github.com>
Thu, 8 Sep 2022 15:02:59 +0000 (17:02 +0200)
committerGitHub <noreply@github.com>
Thu, 8 Sep 2022 15:02:59 +0000 (15:02 +0000)
commit0b4fe10c8fed59de02100612a6168a9aefaf3659
tree24f0336a28108164f4ed96109144cde0ac8c8da6
parentc4007cb9ecacd54df95e29780976937af01ff5ae
🐛 Fix empty reponse body when default `status_code` is empty but the a `Response` parameter with `response.status_code` is set (#5360)

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