]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
✏️ Fix docstring typos in http security (#12223)
authorAlbert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com>
Thu, 19 Sep 2024 09:47:28 +0000 (11:47 +0200)
committerGitHub <noreply@github.com>
Thu, 19 Sep 2024 09:47:28 +0000 (11:47 +0200)
Fix docstring typos in http security

fastapi/security/http.py

index a142b135dabd5f48309619ed6134286e0865a48a..e06f3d66d884c9040686da057565e3aa866e2d8d 100644 (file)
@@ -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