Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for fullname (0.26 sec)

  1. docs/zh/docs/advanced/custom-response.md

    ### `FileResponse`
    
    异步传输文件作为响应。
    
    与其他响应类型相比,接受不同的参数集进行实例化:
    
    * `path` - 要流式传输的文件的文件路径。
    * `headers` - 任何自定义响应头,传入字典类型。
    * `media_type` - 给出媒体类型的字符串。如果未设置,则文件名或路径将用于推断媒体类型。
    * `filename` - 如果给出,它将包含在响应的 `Content-Disposition` 中。
    
    文件响应将包含适当的 `Content-Length`,`Last-Modified` 和 `ETag` 的响应头。
    
    ```Python hl_lines="2  10"
    {!../../../docs_src/custom_response/tutorial009.py!}
    ```
    
    ## 额外文档
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 7.8K bytes
    - Viewed (1)
  2. docs/de/docs/advanced/custom-response.md

    * `media_type` – Ein String, der den Medientyp angibt. Wenn nicht gesetzt, wird der Dateiname oder Pfad verwendet, um auf einen Medientyp zu schließen.
    * `filename` – Wenn gesetzt, wird das in der `Content-Disposition` der Response eingefügt.
    
    Datei-Responses enthalten die entsprechenden `Content-Length`-, `Last-Modified`- und `ETag`-Header.
    
    ```Python hl_lines="2  10"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 23 13:05:12 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  3. docs/ja/docs/advanced/custom-response.md

    レスポンスとしてファイルを非同期的にストリームします。
    
    他のレスポンスタイプとは異なる引数のセットを受け取りインスタンス化します。
    
    * `path` - ストリームするファイルのファイルパス。
    * `headers` - 含めたい任意のカスタムヘッダーの辞書。
    * `media_type` - メディアタイプを示す文字列。セットされなかった場合は、ファイル名やパスからメディアタイプが推察されます。
    * `filename` - セットされた場合、レスポンスの `Content-Disposition` に含まれます。
    
    ファイルレスポンスには、適切な `Content-Length` 、 `Last-Modified` 、 `ETag` ヘッダーが含まれます。
    
    ```Python hl_lines="2  10"
    {!../../../docs_src/custom_response/tutorial009.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jul 19 19:14:58 GMT 2021
    - 10.7K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/custom-response.md

    * `path` - The filepath to the file to stream.
    * `headers` - Any custom headers to include, as a dictionary.
    * `media_type` - A string giving the media type. If unset, the filename or path will be used to infer a media type.
    * `filename` - If set, this will be included in the response `Content-Disposition`.
    
    File responses will include appropriate `Content-Length`, `Last-Modified` and `ETag` headers.
    
    ```Python hl_lines="2  10"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. docs/em/docs/advanced/custom-response.md

    ### `FileResponse`
    
    🔁 🎏 📁 📨.
    
    ✊ 🎏 ⚒ ❌ 🔗 🌘 🎏 📨 🆎:
    
    * `path` - 📁 📁 🎏.
    * `headers` - 🙆 🛃 🎚 🔌, 📖.
    * `media_type` - 🎻 🤝 📻 🆎. 🚥 🔢, 📁 ⚖️ ➡ 🔜 ⚙️ 🔑 📻 🆎.
    * `filename` - 🚥 ⚒, 👉 🔜 🔌 📨 `Content-Disposition`.
    
    📁 📨 🔜 🔌 ☑ `Content-Length`, `Last-Modified` & `ETag` 🎚.
    
    ```Python hl_lines="2  10"
    {!../../../docs_src/custom_response/tutorial009.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 9.8K bytes
    - Viewed (0)
Back to top