diff --git a/fastapi/security/http.py b/fastapi/security/http.py index ffd2ee1ad..0b6e4291a 100644 --- a/fastapi/security/http.py +++ b/fastapi/security/http.py @@ -122,7 +122,6 @@ class HTTPBasic(HTTPBase): # FastAPI behavior: do NOT include realm in header return {"WWW-Authenticate": "Basic"} - def make_authenticate_headers(self) -> dict[str, str]: return {"WWW-Authenticate": "Basic"}