SemanticDiff fastapi
πŸ› Check Content-Type request header before assuming JSON
#2118
Merged

πŸ› Check Content-Type request header before assuming JSON #2118

tiangolo merged 12 commits into fastapi:master from patrickkwang:fix_1018
patrickkwang
codecov
github-actions
ArcLightSlavik
ArcLightSlavik commented on 2020-10-02
ArcLightSlavik
ArcLightSlavik approved these changes on 2020-10-02
github-actions
Mause
patrickkwang
github-actions
Mause
patrickkwang
github-actions
patrickkwang
rdpravin1895
Check Content-Type before assuming JSON
e46bce35
Remove now-unneccessary exception handling
df4fdf0c
Fix broken-body test
4e8605e5
Assume "Content-Type": "application/octet-stream"
c7191f50
Explicitly specify Content-Type in gzip test
c1692586
Interpret as JSON any mimetype ending with "json"
d644c306
Generalize media type parsing to handle parameters
6ecfba9a
patrickkwang Add test for handling various Content-Type headers
d752efdf
patrickkwang patrickkwang force pushed to d752efdf 3 years ago
github-actions
patrickkwang
rdpravin1895
tiangolo βœ… Update tests for content-type headers and include extra corner case
f80305de
tiangolo ♻️ Re-implement JSON content-type parsing with Python's standard libr…
344ae3f8
tiangolo πŸ”€ Merge master to update codebase, dependencies and tests
29257d0e
tiangolo tiangolo changed the title Check Content-Type before assuming JSON πŸ› Check Content-Type request header before assuming JSON 3 years ago
github-actions
tiangolo βœ… Include again test with patch to force exception, for coverage
5729e8a1
github-actions
tiangolo
tiangolo tiangolo merged fa7e3c99 into master 3 years ago
jolynch
kpflugshaupt
hademircii
tiangolo

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone