Browse Source

Fix small typo

pull/5163/head
Sofie Van Landeghem 7 months ago
committed by GitHub
parent
commit
8741407b04
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      fastapi/security/http.py

6
fastapi/security/http.py

@ -185,7 +185,7 @@ class HTTPBasic(HTTPBase):
The text to be returned to the client when `auto_error` The text to be returned to the client when `auto_error`
raises an HTTP exception. raises an HTTP exception.
It useful when you have multiple errors defined: set It's useful when you have multiple errors defined: set
different detail text to easily differentiate which error was raised. different detail text to easily differentiate which error was raised.
""" """
), ),
@ -313,7 +313,7 @@ class HTTPBearer(HTTPBase):
The text to be returned to the client when `auto_error` The text to be returned to the client when `auto_error`
raises an HTTP exception. raises an HTTP exception.
It useful when you have multiple errors defined: set It's useful when you have multiple errors defined: set
different detail text to easily differentiate which error was raised. different detail text to easily differentiate which error was raised.
""" """
), ),
@ -429,7 +429,7 @@ class HTTPDigest(HTTPBase):
The text to be returned to the client when `auto_error` The text to be returned to the client when `auto_error`
raises an HTTP exception. raises an HTTP exception.
It useful when you have multiple errors defined: set It's useful when you have multiple errors defined: set
different detail text to easily differentiate which error was raised. different detail text to easily differentiate which error was raised.
""" """
), ),

Loading…
Cancel
Save