Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HTTPException with custom headers #35

Merged
merged 3 commits into from
Feb 16, 2019
Merged

Add HTTPException with custom headers #35

merged 3 commits into from
Feb 16, 2019

Conversation

tiangolo
Copy link
Member

Add HTTPException with custom headers and documentation for handling client errors.

@codecov
Copy link

codecov bot commented Feb 16, 2019

Codecov Report

Merging #35 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #35   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          99    105    +6     
  Lines        2590   2687   +97     
=====================================
+ Hits         2590   2687   +97
Impacted Files Coverage Δ
tests/test_starlette_exception.py 100% <100%> (ø)
fastapi/__init__.py 100% <100%> (ø) ⬆️
docs/src/handling_errors/tutorial002.py 100% <100%> (ø)
fastapi/applications.py 100% <100%> (ø) ⬆️
docs/src/security/tutorial003.py 100% <100%> (ø) ⬆️
..._tutorial/test_handling_errors/test_tutorial002.py 100% <100%> (ø)
docs/src/handling_errors/tutorial001.py 100% <100%> (ø)
..._tutorial/test_handling_errors/test_tutorial001.py 100% <100%> (ø)
fastapi/exceptions.py 100% <100%> (ø)
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7edbd93...68cf760. Read the comment docs.

@tiangolo tiangolo merged commit 8772e2f into master Feb 16, 2019
@tiangolo tiangolo deleted the httpexception branch February 16, 2019 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant