- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 3,798 for code (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/zh/docs/advanced/response-change-status-code.md
# 响应 - 更改状态码 { #response-change-status-code } 你可能之前已经了解到,你可以设置默认的[响应状态码](../tutorial/response-status-code.md)。 但在某些情况下,你需要返回一个不同于默认值的状态码。 ## 使用场景 { #use-case } 例如,假设你想默认返回一个HTTP状态码为“OK”`200`。 但如果数据不存在,你想创建它,并返回一个HTTP状态码为“CREATED”`201`。 但你仍然希望能够使用`response_model`过滤和转换你返回的数据。 对于这些情况,你可以使用一个`Response`参数。 ## 使用 `Response` 参数 { #use-a-response-parameter } 你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies和头部做的那样)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 1.5K bytes - Click Count (0) -
docs/ja/docs/advanced/response-change-status-code.md
# レスポンス - ステータスコードの変更 { #response-change-status-code } すでに、デフォルトの[レスポンスのステータスコード](../tutorial/response-status-code.md)を設定できることをご存知かもしれません。 しかし場合によっては、デフォルトとは異なるステータスコードを返す必要があります。 ## ユースケース { #use-case } たとえば、デフォルトでは HTTP ステータスコード "OK" `200` を返したいとします。 しかし、データが存在しなければそれを作成し、HTTP ステータスコード "CREATED" `201` を返したい。 それでも、返すデータは `response_model` でフィルタ・変換できるようにしておきたい。 そのような場合は `Response` パラメータを使えます。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 2K bytes - Click Count (0) -
docs/ru/docs/how-to/authentication-error-status-code.md
# Использование старых статус-кодов ошибок аутентификации 403 { #use-old-403-authentication-error-status-codes } До версии FastAPI `0.122.0`, когда встроенные утилиты безопасности возвращали ошибку клиенту после неудачной аутентификации, они использовали HTTP статус-код `403 Forbidden`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 1.7K bytes - Click Count (0) -
docs/zh/docs/how-to/authentication-error-status-code.md
# 使用旧的 403 认证错误状态码 { #use-old-403-authentication-error-status-codes } 在 FastAPI `0.122.0` 版本之前,当内置的安全工具在认证失败后向客户端返回错误时,会使用 HTTP 状态码 `403 Forbidden`。 从 FastAPI `0.122.0` 版本开始,它们改用更合适的 HTTP 状态码 `401 Unauthorized`,并在响应中返回合理的 `WWW-Authenticate` 头,遵循 HTTP 规范,[RFC 7235](https://datatracker.ietf.org/doc/html/rfc7235#section-3.1)、[RFC 9110](https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 1.1K bytes - Click Count (0) -
docs/ko/docs/how-to/authentication-error-status-code.md
# 이전 403 인증 오류 상태 코드 사용하기 { #use-old-403-authentication-error-status-codes } FastAPI 버전 `0.122.0` 이전에는, 통합 보안 유틸리티가 인증 실패 후 클라이언트에 오류를 반환할 때 HTTP 상태 코드 `403 Forbidden`을 사용했습니다. FastAPI 버전 `0.122.0`부터는 더 적절한 HTTP 상태 코드 `401 Unauthorized`를 사용하며, HTTP 명세인 [RFC 7235](https://datatracker.ietf.org/doc/html/rfc7235#section-3.1), [RFC 9110](https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized)를 따라 응답에 합리적인 `WWW-Authenticate` 헤더를 반환합니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 1.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/GenericsUtil.java
* <ul> * <li>If <code>type</code> is not an array of parameterized types, <code>null</code> is returned.</li> * <li>If <code>type</code> is a <code>Class</code>, it is returned as-is.</li> * <li>If <code>type</code> is a parameterized type, its raw type is returned.</li> * <li>If <code>type</code> is a wildcard type, its (first) upper bound is returned.</li>
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 23.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Node.java
/** * Traverses this node and potentially its children using the specified visitor. * * @param visitor the visitor to call back, must not be {@code null} * @return {@code true} to visit siblings nodes of this node as well, {@code false} to skip siblings */ boolean accept(@Nonnull NodeVisitor visitor); /** * Returns a new tree starting at this node, filtering the children.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 24 14:10:11 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/NameServiceClient.java
* Lookup <code>hostname</code> and return it's <code>UniAddress</code>. If the * <code>possibleNTDomainOrWorkgroup</code> parameter is <code>true</code> an * additional name query will be performed to locate a master browser. * * @param hostname the hostname to resolve * @param possibleNTDomainOrWorkgroup if true, perform additional master browser lookup * * @return the first resolved address
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.4K bytes - Click Count (0) -
doc/asm.html
and offsets match. On 32-bit systems, the low and high 32 bits of a 64-bit value are distinguished by adding a <code>_lo</code> or <code>_hi</code> suffix to the name, as in <code>arg_lo+0(FP)</code> or <code>arg_hi+4(FP)</code>. If a Go prototype does not name its result, the expected assembly name is <code>ret</code>. </p> <p>
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:09:46 GMT 2025 - 36.5K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLong.java
* to {@link #fromLongBits}. * * <p>Note that if this {@code UnsignedLong} holds a value {@code >= 2^63}, the returned value * will be equal to {@code this - 2^64}. */ @Override public long longValue() { return value; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 8.8K bytes - Click Count (0)