]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commit
🐛 Check Content-Type request header before assuming JSON (#2118)
authorPatrick Wang <1263870+patrickkwang@users.noreply.github.com>
Mon, 7 Jun 2021 10:46:18 +0000 (06:46 -0400)
committerGitHub <noreply@github.com>
Mon, 7 Jun 2021 10:46:18 +0000 (12:46 +0200)
commitfa7e3c996edf2d5482fff8f9d890ac2390dede4d
treea1e2b16a7d335fade67aa7848f5720963d136d62
parent90120dd6e83d997fa2f7f54119a2e0cf906b1ded
🐛 Check Content-Type request header before assuming JSON (#2118)

Co-authored-by: Patrick Wang <patrickkwang@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
fastapi/routing.py
tests/test_tutorial/test_body/test_tutorial001.py
tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py