- Sort Score
- Result 10 results
- Languages All
Results 21 - 21 of 21 for HTTPException (6.04 sec)
-
docs/en/docs/tutorial/security/simple-oauth2.md
Now, get the user data from the (fake) database, using the `username` from the form field. If there is no such user, we return an error saying "Incorrect username or password". For the error, we use the exception `HTTPException`: === "Python 3.10+" ```Python hl_lines="3 79-81" {!> ../../../docs_src/security/tutorial003_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="3 79-81"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 12.5K bytes - Viewed (0)