Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 654 for images (0.03 seconds)

  1. docs/zh/docs/advanced/stream-data.md

    在上面的示例中,虽然按字节流式传输了数据,但响应没有 `Content-Type` 头,因此客户端不知道接收到的数据类型。
    
    你可以创建 `StreamingResponse` 的自定义子类,将 `Content-Type` 头设置为你要流式传输的数据类型。
    
    例如,你可以创建一个 `PNGStreamingResponse`,通过 `media_type` 属性把 `Content-Type` 头设置为 `image/png`:
    
    {* ../../docs_src/stream_data/tutorial002_py310.py ln[6,19:20] hl[20] *}
    
    然后你可以在*路径操作函数*中通过 `response_class=PNGStreamingResponse` 使用这个新类:
    
    {* ../../docs_src/stream_data/tutorial002_py310.py ln[23:27] hl[23] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  2. docs/ko/docs/advanced/openapi-webhooks.md

    ### 문서 확인하기 { #check-the-docs }
    
    이제 앱을 실행하고 [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)로 이동하세요.
    
    문서에 일반적인 *경로 처리*가 보이고, 이제는 일부 **webhooks**도 함께 보일 것입니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/advanced/openapi-webhooks.md

    ### 查看文件 { #check-the-docs }
    
    現在你可以啟動應用,然後前往 [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)。
    
    你會在文件中看到一般的路徑操作,另外還有一些 webhook:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/cookie-param-models.md

    **FastAPI** 将从请求中接收到的 **cookie** 中**提取**出**每个字段**的数据,并提供您定义的 Pydantic 模型。
    
    ## 查看文档 { #check-the-docs }
    
    您可以在文档 UI 的 `/docs` 中查看定义的 cookie:
    
    <div class="screenshot">
    <img src="/img/tutorial/cookie-param-models/image01.png">
    </div>
    
    /// info | 信息
    
    请记住,由于**浏览器**以特殊方式**处理 cookie**,并在后台进行操作,因此它们**不会**轻易允许 **JavaScript** 访问这些 cookie。
    
    如果您访问 `/docs` 的 **API 文档 UI**,您将能够查看您*路径操作*的 cookie **文档**。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 3K bytes
    - Click Count (0)
  5. cmd/batch-expire.go

    //         - key: name
    //           value: pick* # match objects with tag 'name', all values starting with 'pick'
    //       metadata:
    //         - key: content-type
    //           value: image/* # match objects with 'content-type', all values starting with 'image/'
    //       size:
    //         lessThan: "10MiB" # match objects with size less than this value (e.g. 10MiB)
    //         greaterThan: 1MiB # match objects with size greater than this value (e.g. 1MiB)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Apr 22 11:16:32 GMT 2025
    - 23K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/cookie-param-models.md

    **FastAPI**는 요청에서 받은 **쿠키**에서 **각 필드**에 대한 데이터를 **추출**하고 정의한 Pydantic 모델을 줍니다.
    
    ## 문서 확인하기 { #check-the-docs }
    
    문서 UI `/docs`에서 정의한 쿠키를 볼 수 있습니다:
    
    <div class="screenshot">
    <img src="/img/tutorial/cookie-param-models/image01.png">
    </div>
    
    /// info | 정보
    
    명심하세요, 내부적으로 **브라우저는 쿠키를 특별한 방식으로 처리**하기 때문에 **자바스크립트**가 쉽게 쿠키를 건드릴 수 **없습니다**.
    
    `/docs`에서 **API 문서 UI**로 이동하면 *경로 처리*에 대한 쿠키의 **문서**를 볼 수 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:57:01 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  7. docs/ja/docs/python-types.md

    <img src="/img/python-types/image02.png">
    
    これであれば、あなたは「ベルを鳴らす」ものを見つけるまで、オプションを見てスクロールできます:
    
    <img src="/img/python-types/image03.png">
    
    ## より強い動機 { #more-motivation }
    
    この関数を見てください。すでに型ヒントを持っています:
    
    {* ../../docs_src/python_types/tutorial003_py310.py hl[1] *}
    
    エディタは変数の型を知っているので、補完だけでなく、エラーチェックをすることもできます:
    
    <img src="/img/python-types/image04.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/query-param-models.md

    **FastAPI**は、リクエストの**クエリパラメータ**からそれぞれの**フィールド**のデータを**抽出**し、定義したPydanticモデルを提供します。
    
    ## ドキュメントの確認 { #check-the-docs }
    
    対話的APIドキュメント `/docs` でクエリパラメータを確認できます:
    
    <div class="screenshot">
    <img src="/img/tutorial/query-param-models/image01.png">
    </div>
    
    ## 余分なクエリパラメータを禁止する { #forbid-extra-query-parameters }
    
    特定の(あまり一般的ではないかもしれない)ユースケースで、受け取りたいクエリパラメータを**制限**したい場合があります。
    
    Pydanticのモデル設定を使って、あらゆる `extra` フィールドを `forbid` にできます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 16:44:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/response-status-code.md

    ///
    
    Dessa forma:
    
    * Este código de status será retornado na resposta.
    * Será documentado como tal no esquema OpenAPI (e, portanto, nas interfaces do usuário):
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note | Nota
    
    Alguns códigos de resposta (consulte a próxima seção) indicam que a resposta não possui um corpo.
    
    O FastAPI sabe disso e produzirá documentos OpenAPI informando que não há corpo de resposta.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/path-operation-configuration.md

    ///
    
    <img src="/img/tutorial/path-operation-configuration/image03.png">
    
    ## 弃用*路径操作* { #deprecate-a-path-operation }
    
    如果需要把*路径操作*标记为<dfn title="过时,建议不要使用">弃用</dfn>,但不删除它,可以传入 `deprecated` 参数:
    
    {* ../../docs_src/path_operation_configuration/tutorial006_py310.py hl[16] *}
    
    API 文档会把该路径操作标记为弃用:
    
    <img src="/img/tutorial/path-operation-configuration/image04.png">
    
    下图显示了正常*路径操作*与弃用*路径操作* 的区别:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.7K bytes
    - Click Count (0)
Back to Top