Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Hawaii (0.2 sec)

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

    !!! tip "Tipp"
        Beachten Sie, dass wir, da wir Standard-`open()` verwenden, welches `async` und `await` nicht unterstützt, hier die Pfadoperation mit normalen `def` deklarieren.
    
    ### `FileResponse`
    
    Streamt eine Datei asynchron als Response.
    
    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)
  2. docs/ja/docs/advanced/custom-response.md

    これにはクラウドストレージとの連携や映像処理など、多くのライブラリが含まれています。
    
    ```Python hl_lines="2  10-12  14"
    {!../../../docs_src/custom_response/tutorial008.py!}
    ```
    
    !!! tip "豆知識"
        ここでは `async` や `await` をサポートしていない標準の `open()` を使っているので、通常の `def` でpath operationを宣言していることに注意してください。
    
    ### `FileResponse`
    
    レスポンスとしてファイルを非同期的にストリームします。
    
    他のレスポンスタイプとは異なる引数のセットを受け取りインスタンス化します。
    
    * `path` - ストリームするファイルのファイルパス。
    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)
  3. docs/en/docs/advanced/custom-response.md

        By doing it this way, we can put it in a `with` block, and that way, ensure that it is closed after finishing.
    
    !!! tip
        Notice that here as we are using standard `open()` that doesn't support `async` and `await`, we declare the path operation with normal `def`.
    
    ### `FileResponse`
    
    Asynchronously streams a file as the response.
    
    Takes a different set of arguments to instantiate than the other response types:
    
    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)
Back to top