Updated and grouped deps, fixed typos in readme and docstrings

This commit is contained in:
DarkCat09 2023-03-06 17:34:13 +04:00
parent 73886fbc0e
commit 8b61a6bf8d
4 changed files with 28 additions and 21 deletions

View file

@ -22,7 +22,7 @@ def with_redirect(
To leave the same HTTP method, use 307 status code
or call `with_redirect_307` function.
`kwargs` are passed directly
to the Response contructor
to the Response constructor
Args:
url (str, optional): Target URL, root by default
@ -45,7 +45,7 @@ def with_text(
**kwargs) -> PlainTextResponse:
"""Return a plain text to the user.
`kwargs` are passed directly
to the Response contructor
to the Response constructor
Args:
content (str): Plain text content
@ -121,7 +121,7 @@ def with_file(
"""Send the file specified in `path`
automatically guessing its mimetype if `mime` is None.
`kwargs` are passed directly
to the Response contructor
to the Response constructor
Args:
path (os.PathLike): File path