🐛Fix `RuntimeError` raised when `HTTPException` has a status code with no content #5365
fix: handle no body status codes in HTTPExceptions
afecf9be
fix: added tests for No Body Status Code Exception Handlers
f96a078b
fix: added schema for new tests to openapi json
3c79e5b5
fix: added schema for new tests to openapi json
c357017e
iudeen
changed the title fix: handle no body status codes in HTTPExceptions 🐛Fix Handle HTTPExceptions with status codes that should not support body 2 years ago
iudeen
changed the title 🐛Fix Handle HTTPExceptions with status codes that should not support body 🐛Fix RuntimeError that got raised when HTTPExceptions with status codes that should not support body was raised 2 years ago
Kludex
approved these changes
on 2022-09-08
Update tests/test_starlette_exception.py
f26af440
fix: used common headers
fda6d888
JarroVGIT
approved these changes
on 2022-09-09
🎨 Format text in OpenAPI test
d21ce644
♻️ Simplify exception handler implementation
1fe25cf6
tiangolo
changed the title 🐛Fix RuntimeError that got raised when HTTPExceptions with status codes that should not support body was raised 🐛Fix `RuntimeError` raised when `HTTPException` has a status code with no content 2 years ago
tiangolo
enabled auto-merge (squash) 2 years ago
tiangolo
merged
4d270463
into master 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub