fastapi
πŸ› Fix empty reponse body when default `status_code` is empty but the a `Response` parameter with `response.status_code` is set
#5360
Merged

πŸ› Fix empty reponse body when default `status_code` is empty but the a `Response` parameter with `response.status_code` is set #5360

tiangolo merged 5 commits into fastapi:master from fix/empty-reponse-body
tmeckel
tmeckel Fix bug in get_request_handler (fastapi/routing.py) which cleared rep…
5892a1d1
tmeckel Added tests/test_reponse_set_reponse_code.py
0dbc75c1
pre-commit-ci[bot] 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
834bb6d4
codecov
github-actions
iudeen
iudeen commented on 2022-09-08
tiangolo Merge branch 'master' into fix/empty-reponse-body
a942d468
github-actions
tmeckel
iudeen
tiangolo βœ… Tweak and simplify tests, add tests for OpenAPI
9bf2b96a
tiangolo
tiangolo tiangolo changed the title Fix: empty reponse body when reponse code set via Response parameter πŸ› Fix empty reponse body when default `status_code` is empty but the a `Response` parameter with `response.status_code` is set 2 years ago
tiangolo tiangolo enabled auto-merge (squash) 2 years ago
tiangolo tiangolo merged 0b4fe10c into master 2 years ago
tmeckel tmeckel deleted the fix/empty-reponse-body branch 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone