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 support for Response parameters to set headers, cookies, and status codes #294

Merged
merged 4 commits into from
Jun 6, 2019

Conversation

tiangolo
Copy link
Owner

@tiangolo tiangolo commented Jun 6, 2019

✨ Add support for Response parameters to set headers, cookies, and status codes.

@codecov
Copy link

codecov bot commented Jun 6, 2019

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #294   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files         215    222    +7     
  Lines        5187   5273   +86     
=====================================
+ Hits         5187   5273   +86
Impacted Files Coverage Δ
...st_response_change_status_code/test_tutorial001.py 100% <100%> (ø)
...ocs/src/response_change_status_code/tutorial001.py 100% <100%> (ø)
...tutorial/test_response_headers/test_tutorial002.py 100% <100%> (ø)
docs/src/response_cookies/tutorial002.py 100% <100%> (ø)
docs/src/response_headers/tutorial002.py 100% <100%> (ø)
fastapi/routing.py 100% <100%> (ø) ⬆️
fastapi/dependencies/models.py 100% <100%> (ø) ⬆️
fastapi/dependencies/utils.py 100% <100%> (ø) ⬆️
...tutorial/test_response_cookies/test_tutorial002.py 100% <100%> (ø)
tests/test_response_change_status_code.py 100% <100%> (ø)
... and 7 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 c8eea09...86155cb. Read the comment docs.

@tiangolo tiangolo merged commit 5f7fe92 into master Jun 6, 2019
@tiangolo tiangolo deleted the response-headers-and-cookies branch June 6, 2019 10:29
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