Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 1,729 for states (0.05 seconds)

  1. docs/ko/docs/tutorial/response-status-code.md

    <img src="/img/tutorial/response-status-code/image02.png">
    
    /// note | 기술 세부사항
    
    `from starlette import status` 역시 사용할 수 있습니다.
    
    **FastAPI**는 개발자인 여러분의 편의를 위해 `fastapi.status` 와 동일한 `starlette.status` 도 제공합니다. 하지만 이것은 Starlette로부터 직접 제공됩니다.
    
    ///
    
    ## 기본값 변경 { #changing-the-default }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  2. architecture/build-state-model.md

    The build state is managed by the `BuildState` class.
    An instance is created for each build in the build definition, once per build execution and is discarded at the end of the execution. 
    
    The build state also includes what is currently called the "Gradle state". The Gradle state is being merged into the build state and is mostly empty.
    
    ### Project state
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed May 22 13:39:49 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  3. docs/ko/docs/advanced/additional-status-codes.md

    # 추가 상태 코드 { #additional-status-codes }
    
    기본적으로 **FastAPI**는 응답을 `JSONResponse`를 사용하여 반환하며, *경로 처리*에서 반환한 내용을 해당 `JSONResponse` 안에 넣어 반환합니다.
    
    기본 상태 코드 또는 *경로 처리*에서 설정한 상태 코드를 사용합니다.
    
    ## 추가 상태 코드 { #additional-status-codes_1 }
    
    기본 상태 코드와 별도로 추가 상태 코드를 반환하려면 `JSONResponse`와 같이 `Response`를 직접 반환하고 추가 상태 코드를 직접 설정할 수 있습니다.
    
    예를 들어 항목을 업데이트할 수 있는 *경로 처리*가 있고 성공 시 200 “OK”의 HTTP 상태 코드를 반환한다고 가정해 보겠습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  4. docs/zh/docs/advanced/additional-status-codes.md

    # 额外的状态码 { #additional-status-codes }
    
    **FastAPI** 默认使用 `JSONResponse` 返回一个响应,将你的 *路径操作* 中的返回内容放到该 `JSONResponse` 中。
    
    **FastAPI** 会自动使用默认的状态码或者使用你在 *路径操作* 中设置的状态码。
    
    ## 额外的状态码 { #additional-status-codes_1 }
    
    如果你想要返回主要状态码之外的状态码,你可以通过直接返回一个 `Response` 来实现,比如 `JSONResponse`,然后直接设置额外的状态码。
    
    例如,假设你想有一个 *路径操作* 能够更新条目,并且更新成功时返回 200 「成功」 的 HTTP 状态码。
    
    但是你也希望它能够接受新的条目。并且当这些条目不存在时,会自动创建并返回 201 「创建」的 HTTP 状态码。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/resources/poms/validation/distribution-management-status.xml

    under the License.
    -->
    
    <project>
      <modelVersion>4.0.0</modelVersion>
      <groupId>foo</groupId>
      <artifactId>bar</artifactId>
      <version>0.1</version>
    
      <distributionManagement>
        <status>generated</status>
      </distributionManagement>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 993 bytes
    - Click Count (0)
  6. CHANGELOG/CHANGELOG-1.19.md

    - Updates to pod status via the status subresource now validate that `status.podIP` and `status.podIPs` fields are well-formed. ([#90628](https://github.com/kubernetes/kubernetes/pull/90628), [@liggitt](https://github.com/liggitt)) [SIG Apps and Node]
    - Wait for all CRDs to show up in discovery endpoint before reporting readiness. ([#89145](https://github.com/kubernetes/kubernetes/pull/89145), [@sttts](https://github.com/sttts)) [SIG API Machinery]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Jan 05 05:42:32 GMT 2022
    - 489.7K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/advanced/additional-status-codes.md

    # 額外的狀態碼 { #additional-status-codes }
    
    在預設情況下,**FastAPI** 會使用 `JSONResponse` 傳回回應,並把你從你的「路徑操作(path operation)」回傳的內容放進該 `JSONResponse` 中。
    
    它會使用預設的狀態碼,或你在路徑操作中設定的狀態碼。
    
    ## 額外的狀態碼 { #additional-status-codes_1 }
    
    如果你想在主要狀態碼之外再回傳其他狀態碼,可以直接回傳一個 `Response`(例如 `JSONResponse`),並直接設定你想要的額外狀態碼。
    
    例如,你想要有一個允許更新項目的路徑操作,成功時回傳 HTTP 狀態碼 200 "OK"。
    
    但你也希望它能接受新項目;當項目先前不存在時就建立它們,並回傳 HTTP 狀態碼 201 "Created"。
    
    要達成這點,匯入 `JSONResponse`,直接在那裡回傳內容,並設定你想要的 `status_code`:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  8. docs/es/docs/advanced/additional-status-codes.md

    # Códigos de Estado Adicionales { #additional-status-codes }
    
    Por defecto, **FastAPI** devolverá los responses usando un `JSONResponse`, colocando el contenido que devuelves desde tu *path operation* dentro de ese `JSONResponse`.
    
    Usará el código de estado por defecto o el que configures en tu *path operation*.
    
    ## Códigos de estado adicionales { #additional-status-codes_1 }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  9. docs/fr/docs/advanced/additional-status-codes.md

    # Codes HTTP supplémentaires { #additional-status-codes }
    
    Par défaut, **FastAPI** renverra les réponses à l'aide d'une structure de données `JSONResponse`, en plaçant la réponse de votre  *chemin d'accès* à l'intérieur de cette `JSONResponse`.
    
    Il utilisera le code HTTP par défaut ou celui que vous avez défini dans votre *chemin d'accès*.
    
    ## Codes HTTP supplémentaires { #additional-status-codes_1 }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  10. docs/ja/docs/advanced/additional-status-codes.md

    # 追加のステータスコード { #additional-status-codes }
    
    デフォルトでは、 **FastAPI** は `JSONResponse` を使ってレスポンスを返し、*path operation* から返した内容をその `JSONResponse` の中に入れます。
    
    デフォルトのステータスコード、または *path operation* で設定したステータスコードが使用されます。
    
    ## 追加のステータスコード { #additional-status-codes_1 }
    
    メインのステータスコードとは別に追加のステータスコードを返したい場合は、`JSONResponse` のような `Response` を直接返し、追加のステータスコードを直接設定できます。
    
    たとえば、item を更新でき、成功時に HTTP ステータスコード 200 "OK" を返す *path operation* を作りたいとします。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 2.4K bytes
    - Click Count (0)
Back to Top