Browse Source
✏️ Fix docstring typos in http security (#12223)
Fix docstring typos in http security
pull/12249/head
Albert Villanova del Moral
7 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
fastapi/security/http.py
|
|
@ -277,7 +277,7 @@ class HTTPBearer(HTTPBase): |
|
|
|
bool, |
|
|
|
Doc( |
|
|
|
""" |
|
|
|
By default, if the HTTP Bearer token not provided (in an |
|
|
|
By default, if the HTTP Bearer token is not provided (in an |
|
|
|
`Authorization` header), `HTTPBearer` will automatically cancel the |
|
|
|
request and send the client an error. |
|
|
|
|
|
|
@ -380,7 +380,7 @@ class HTTPDigest(HTTPBase): |
|
|
|
bool, |
|
|
|
Doc( |
|
|
|
""" |
|
|
|
By default, if the HTTP Digest not provided, `HTTPDigest` will |
|
|
|
By default, if the HTTP Digest is not provided, `HTTPDigest` will |
|
|
|
automatically cancel the request and send the client an error. |
|
|
|
|
|
|
|
If `auto_error` is set to `False`, when the HTTP Digest is not |
|
|
|