Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 108 for F401 (0.02 sec)

  1. 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)
  2. fastapi/security/api_key.py

            """
            The WWW-Authenticate header is not standardized for API Key authentication but
            the HTTP specification requires that an error of 401 "Unauthorized" must
            include a WWW-Authenticate header.
    
            Ref: https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized
    
            For this, this method sends a custom challenge `APIKey`.
            """
            return HTTPException(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 9.6K bytes
    - Viewed (1)
  3. docs/minio-limits.md

    | Minimum number of drives per server when server count is 1      | 02            |
    | Minimum number of drives per server when server count is 2 or 3 | 01            |
    | Minimum number of drives per server when server count is 4      | 01            |
    | Maximum number of drives per server                             | no-limit      |
    | Read quorum                                                     | N/2           |
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

        //                                                                          ==========
        protected static final int HTTP_BAD_REQUEST = 400;
        protected static final int HTTP_UNAUTHORIZED = 401;
    
        // ===================================================================================
        //                                                                    Business Failure
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/security/simple-oauth2.md

    如果用户不存在,或状态为未激活,这两个依赖项都会返回 HTTP 错误。
    
    因此,在端点中,只有当用户存在、通过身份验证、且状态为激活时,才能获得该用户:
    
    {* ../../docs_src/security/tutorial003.py hl[58:67,69:72,90] *}
    
    /// info | 说明
    
    此处返回值为 `Bearer` 的响应头 `WWW-Authenticate` 也是规范的一部分。
    
    任何 401**UNAUTHORIZED**HTTP(错误)状态码都应返回 `WWW-Authenticate` 响应头。
    
    本例中,因为使用的是 Bearer Token,该响应头的值应为 `Bearer`。
    
    实际上,忽略这个附加响应头,也不会有什么问题。
    
    之所以在此提供这个附加响应头,是为了符合规范的要求。
    
    说不定什么时候,就有工具用得上它,而且,开发者或用户也可能用得上。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/web.xml

      <error-page>
        <error-code>400</error-code>
        <location>/WEB-INF/view/error/redirect.jsp?type=badRequest</location>
      </error-page>
      <error-page>
        <error-code>401</error-code>
        <location>/WEB-INF/view/error/redirect.jsp?type=badAuth</location>
      </error-page>
      <error-page>
        <error-code>403</error-code>
        <location>/WEB-INF/view/error/redirect.jsp?type=logOut</location>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Tue May 06 09:19:22 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt

     * authenticate. If so it is likely that further attempts will not be useful and the authenticator
     * should give up.
     *
     * When reactive authentication is requested by an origin web server, the response code is 401
     * and the implementation should respond with a new request that sets the "Authorization" header.
     *
     * ```java
     * if (response.request().header("Authorization") != null) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. 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)
  9. docs/pt/docs/tutorial/security/simple-oauth2.md

    /// info | Informação
    
    O cabeçalho adicional `WWW-Authenticate` com valor `Bearer` que estamos retornando aqui também faz parte da especificação.
    
    Qualquer código de status HTTP (erro) 401 "UNAUTHORIZED" também deve retornar um cabeçalho `WWW-Authenticate`.
    
    No caso de tokens ao portador (nosso caso), o valor desse cabeçalho deve ser `Bearer`.
    
    Na verdade, você pode pular esse cabeçalho extra e ainda funcionaria.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. tests/test_security_oauth2.py

        assert response.json() == {"username": "Other footokenbar"}
    
    
    def test_security_oauth2_password_bearer_no_header():
        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_strict_login_no_data():
        response = client.post("/login")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top