- Add support for declaring a
Response
parameter:- This allows declaring:
- Response Cookies.
- Response Headers.
- An HTTP Status Code different than the default: Response - Change Status Code.
- All of this while still being able to return arbitrary objects (
dict
, DB model, etc). - Update attribution to Hug, for inspiring the
response
parameter pattern. - PR #294.
- This allows declaring: