quart.utils module

Create a Cookie given the options set

The arguments are the standard cookie morsels and this is a wrapper around the stdlib SimpleCookie code.

quart.utils.ensure_coroutine(func: Callable) → Callable
quart.utils.file_path_to_path(*paths: Union[bytes, str, os.PathLike]) → pathlib.Path
quart.utils.redirect(location: str, status_code: int = 302) → Response