Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 55 for 401 (0.01 sec)

  1. docs/pt/docs/tutorial/security/first-steps.md

    Se ele não ver o header de `Autorização` ou o valor não tem um token `Bearer`, vai responder com um código de erro  401 (`UNAUTHORIZED`) diretamente.
    
    Você nem precisa verificar se o token existe para retornar um erro. Você pode ter certeza de que se a sua função for executada, ela terá um `str` nesse token.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/security/first-steps.md

    Si no ve un header `Authorization`, o el valor no tiene un token `Bearer `, responderá directamente con un error de código de estado 401 (`UNAUTHORIZED`).
    
    Ni siquiera tienes que verificar si el token existe para devolver un error. Puedes estar seguro de que si tu función se ejecuta, tendrá un `str` en ese token.
    
    Puedes probarlo ya en los docs interactivos:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. src/main/webapp/js/admin/plugins/form-validator/security.js

    /)&&a.match(/([0-9])/)&&(b+=15),a.match(/([!,@,#,$,%,^,&,*,?,_,~])/)&&a.match(/([0-9])/)&&(b+=15),a.match(/([!,@,#,$,%,^,&,*,?,_,~])/)&&a.match(/([a-zA-Z])/)&&(b+=15),(a.match(/^\w+$/)||a.match(/^\d+$/))&&(b-=10),b<0&&(b=0),b>100&&(b=100),b<20?0:b<40?1:b<=60?2:3},strengthDisplay:function(b,c){var d={fontSize:"12pt",padding:"4px",bad:"Very bad",weak:"Weak",good:"Good",strong:"Strong"};c&&a.extend(d,c),b.bind("keyup",function(){var b=a(this).val(),c="undefined"==typeof d.parent?a(this).parent():a(...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 10.5K bytes
    - Viewed (1)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

        level = DeprecationLevel.ERROR,
      )
      fun priorResponse(): Response? = priorResponse
    
      /**
       * Returns the RFC 7235 authorization challenges appropriate for this response's code. If the
       * response code is 401 unauthorized, this returns the "WWW-Authenticate" challenges. If the
       * response code is 407 proxy unauthorized, this returns the "Proxy-Authenticate" challenges.
       * Otherwise this returns an empty list of challenges.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmSspTest.java

        }
    
        /**
         * Test case for when the 'Authorization' header is missing.
         * Expects the server to respond with a 'WWW-Authenticate: NTLM' header and a 401 status.
         * @throws IOException
         */
        @Test
        public void testAuthenticate_NoAuthorizationHeader() throws IOException {
            // Setup: No "Authorization" header
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

            .Builder()
            .code(401)
            .addHeader("Connection", "close")
            .onResponseEnd(ShutdownConnection)
            .build(),
        )
        val authenticator = RecordingOkAuthenticator(null, null)
        client =
          client
            .newBuilder()
            .authenticator(authenticator)
            .build()
        executeSynchronously("/")
          .assertCode(401)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       *
       * The network response's status code is most influential when deciding how to follow up:
       *
       *  * For redirects (301: Moved Permanently, 302: Temporary Redirect, etc.)
       *  * For auth challenges (401: Unauthorized, 407: Proxy Authentication Required.)
       *  * For client timeouts (408: Request Time-Out.)
       *  * For server failures (503: Service Unavailable.)
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            try {
                WebApiUtil.setError(200, "OK");
                WebApiUtil.setError(201, "Created");
                WebApiUtil.setError(400, "Bad Request");
                WebApiUtil.setError(401, "Unauthorized");
                WebApiUtil.setError(403, "Forbidden");
                WebApiUtil.setError(404, "Not Found");
                WebApiUtil.setError(500, "Internal Server Error");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                }
                if (status) {
                    return new ActionResponseCredential(() -> {
                        throw new RequestLoggingFilter.RequestClientErrorException("Your request is not authorized.", "401 Unauthorized",
                                HttpServletResponse.SC_UNAUTHORIZED);
                    });
                }
    
                // assert
                if (null == principal) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 17.2K bytes
    - Viewed (3)
  10. src/main/java/jcifs/http/NetworkExplorer.java

            if (maxLen > 50) {
                maxLen = 50;
            }
            maxLen *= 9; /* convert to px */
    
            resp.setContentType("text/html");
    
            out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
            out.println("<html><head><title>Network Explorer</title>");
            out.println("<meta HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">");
            out.println("<style TYPE=\"text/css\">");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
Back to top