- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 88 for 401 (0.01 seconds)
-
docs/en/docs/tutorial/security/first-steps.md
If it doesn't see an `Authorization` header, or the value doesn't have a `Bearer ` token, it will respond with a 401 status code error (`UNAUTHORIZED`) directly. You don't even have to check if the token exists to return an error. You can be sure that if your function is executed, it will have a `str` in that token.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 8.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
.thenReturn(UpgradeResult.empty()); // Execute with custom model version (should create .mvn directory) upgradeGoal.testExecuteWithTargetModel(context, "4.0.1"); Path mvnDir = projectDir.resolve(".mvn"); assertTrue(Files.exists(mvnDir), ".mvn directory should be created for custom model versions"); } @Test
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 13.7K bytes - Click Count (0) -
docs/ru/docs/tutorial/security/first-steps.md
Если заголовок `Authorization` отсутствует или его значение не содержит токен `Bearer `, он сразу ответит ошибкой со статус-кодом 401 (`UNAUTHORIZED`). Вам даже не нужно проверять наличие токена, чтобы вернуть ошибку. Вы можете быть уверены: если ваша функция была выполнена, в этом токене будет `str`. Это уже можно попробовать в интерактивной документации:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:24:39 GMT 2025 - 14.2K bytes - Click Count (0) -
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)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 147.4K bytes - Click Count (0) -
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.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 9.9K bytes - Click Count (0) -
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"> 目前,暂时还没有实现验证令牌是否有效的功能,不过后文很快就会介绍的。 ## 小结
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 7K bytes - Click Count (0) -
docs/pt/docs/tutorial/security/first-steps.md
Se não houver um header `Authorization`, ou se o valor não tiver um token `Bearer `, ele responderá diretamente com um erro de status 401 (`UNAUTHORIZED`). Você nem precisa verificar se o token existe para retornar um erro. Você pode ter certeza de que, se sua função for executada, ela terá uma `str` nesse token.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 8.9K bytes - Click Count (0) -
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:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 8.9K bytes - Click Count (0) -
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. *
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jul 28 14:39:28 GMT 2025 - 18.1K bytes - Click Count (0) -
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,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 20 08:16:35 GMT 2024 - 17.5K bytes - Click Count (0)