You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

518 B

You can create (set) Cookies in your response.

To do that, you can create a response as described in Return a Response directly.

Then set Cookies in it, and then return it:

{!./src/response_cookies/tutorial001.py!}

More info

To see all the available parameters and options, check the documentation in Starlette.