Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 78 for 401 (0.04 sec)

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

    Если он не видит заголовка `Authorization` или значение не имеет токена `Bearer`, то в ответ будет выдана ошибка с кодом состояния 401 (`UNAUTHORIZED`).
    
    Для возврата ошибки даже не нужно проверять, существует ли токен. Вы можете быть уверены, что если ваша функция будет выполнилась, то в этом токене есть `строка`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

       *
       *  * A stale connection. The request was made on a reused connection and that reused connection
       *    has since been closed by the server.
       *  * A client timeout (HTTP 408).
       *  * A authorization challenge (HTTP 401 and 407) that is satisfied by the [Authenticator].
       *  * A retryable server failure (HTTP 503 with a `Retry-After: 0` response header).
       *  * A misdirected request (HTTP 421) on a coalesced connection.
       */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/security/first-steps.md

    Wenn es keinen `Authorization`-Header sieht, oder der Wert keinen `Bearer`-Token hat, antwortet es direkt mit einem 401-Statuscode-Error (`UNAUTHORIZED`).
    
    Sie müssen nicht einmal prüfen, ob der Token existiert, um einen Fehler zurückzugeben. Seien Sie sicher, dass Ihre Funktion, wenn sie ausgeführt wird, ein `str` in diesem Token enthält.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/security/first-steps.md

    ///
    
    ## 实现的操作
    
    FastAPI 校验请求中的 `Authorization` 请求头,核对请求头的值是不是由 `Bearer ` + 令牌组成, 并返回令牌字符串(`str`)。
    
    如果没有找到 `Authorization` 请求头,或请求头的值不是 `Bearer ` + 令牌。FastAPI 直接返回 401 错误状态码(`UNAUTHORIZED`)。
    
    开发者不需要检查错误信息,查看令牌是否存在,只要该函数能够执行,函数中就会包含令牌字符串。
    
    正如下图所示,API 文档已经包含了这项功能:
    
    <img src="/img/tutorial/security/image03.png">
    
    目前,暂时还没有实现验证令牌是否有效的功能,不过后文很快就会介绍的。
    
    ## 小结
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. internal/s3select/unused-errors.go

    		cause:      err,
    	}
    }
    
    func errUnauthorizedAccess(err error) *s3Error {
    	return &s3Error{
    		code:       "UnauthorizedAccess",
    		message:    "You are not authorized to perform this operation",
    		statusCode: 401,
    		cause:      err,
    	}
    }
    
    func errEmptyRequestBody(err error) *s3Error {
    	return &s3Error{
    		code:       "EmptyRequestBody",
    		message:    "Request body cannot be empty.",
    		statusCode: 400,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 20 08:16:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 10.5K bytes
    - Viewed (0)
  8. 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  9. okhttp/src/main/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            }
            maxLen *= 9; /* convert to px */
    
            out = resp.getWriter();
    
            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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
Back to top