- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for F401 (0.02 sec)
-
fastapi/_compat/v2.py
) except ImportError: # pragma: no cover from pydantic_core.core_schema import ( general_plain_validator_function as with_info_plain_validator_function, # noqa: F401 ) RequiredParam = PydanticUndefined Undefined = PydanticUndefined UndefinedType = PydanticUndefinedType evaluate_forwardref = eval_type_lenient Validator = AnyRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 19.1K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005.py
assert response.json() == {"detail": "Incorrect username or password"} def test_no_token(mod: ModuleType): client = TestClient(mod.app) response = client.get("/users/me") assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer" def test_token(mod: ModuleType): client = TestClient(mod.app)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 15.8K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial004.py
) assert response.status_code == 401, response.text assert response.json() == {"detail": "Incorrect username or password"} def test_login_incorrect_username(mod: ModuleType): client = TestClient(mod.app) response = client.post("/token", data={"username": "foo", "password": "secret"}) assert response.status_code == 401, response.textRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 13.3K bytes - Viewed (0) -
src/main/config/openapi/openapi-user.yaml
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu May 09 06:31:27 UTC 2024 - 21.6K bytes - Viewed (0) -
docs/de/docs/tutorial/security/simple-oauth2.md
/// info | Info Der zusätzliche Header `WWW-Authenticate` mit dem Wert `Bearer`, den wir hier zurückgeben, ist ebenfalls Teil der Spezifikation. Jeder HTTP-(Fehler-)Statuscode 401 „UNAUTHORIZED“ soll auch einen `WWW-Authenticate`-Header zurückgeben. Im Fall von Bearer-Tokens (in unserem Fall) sollte der Wert dieses Headers `Bearer` lauten.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 15:10:09 UTC 2025 - 11.2K bytes - Viewed (0) -
docs/es/docs/tutorial/security/simple-oauth2.md
/// info | Información El header adicional `WWW-Authenticate` con el valor `Bearer` que estamos devolviendo aquí también es parte de la especificación. Cualquier código de estado HTTP (error) 401 "UNAUTHORIZED" se supone que también debe devolver un header `WWW-Authenticate`. En el caso de tokens bearer (nuestro caso), el valor de ese header debe ser `Bearer`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
verify(servletConfig).getInitParameter("jcifs.smb.client.domain"); verify(servletConfig).getInitParameter("jcifs.http.enableBasic"); } /** * Test doGet with no authentication - should return 401 */ @Test void testDoGet_NoAuthentication() throws Exception { initializeNetworkExplorer(false, "jCIFS"); when(request.getHeader("Authorization")).thenReturn(null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
assertDoesNotThrow(() -> ntlmServlet.init(servletConfig)); } /** * Test the service method when no Authorization header is present and no session exists. * Expects a 401 Unauthorized response with NTLM and Basic authentication challenges. * @throws ServletException * @throws IOException */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/security/simple-oauth2.md
/// info | Дополнительная информация Дополнительный HTTP-заголовок `WWW-Authenticate` со значением `Bearer`, который мы здесь возвращаем, также является частью спецификации. Любой HTTP статус-код 401 "UNAUTHORIZED" должен также возвращать заголовок `WWW-Authenticate`. В случае с bearer-токенами (наш случай) значение этого заголовка должно быть `Bearer`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 16.3K bytes - Viewed (0) -
docs/ko/docs/tutorial/security/simple-oauth2.md
{* ../../docs_src/security/tutorial003.py hl[58:66,69:72,90] *} /// info | 정보 여기서 반환하는 값이 `Bearer`인 추가 헤더 `WWW-Authenticate`도 사양의 일부입니다. 모든 HTTP(오류) 상태 코드 401 "UNAUTHORIZED"는 `WWW-Authenticate` 헤더도 반환해야 합니다. 베어러 토큰의 경우(지금의 경우) 해당 헤더의 값은 `Bearer`여야 합니다. 실제로 추가 헤더를 건너뛸 수 있으며 여전히 작동합니다. 그러나 여기에서는 사양을 준수하도록 제공됩니다.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Feb 15 11:19:12 UTC 2025 - 10.8K bytes - Viewed (0)