Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 2,539 for Request (0.05 seconds)

  1. docs/ja/docs/how-to/custom-request-and-route.md

    /// note | 技術詳細
    
    `Request` には `request.scope` 属性があり、これはリクエストに関するメタデータを含む Python の `dict` です。
    
    `Request` には `request.receive` もあり、これはリクエストの本体を「受信」するための関数です。
    
    `scope` の `dict` と `receive` 関数はいずれも ASGI 仕様の一部です。
    
    そしてこの 2 つ(`scope` と `receive`)が、新しい `Request` インスタンスを作成するために必要なものです。
    
    `Request` について詳しくは、[Starlette の Requests に関するドキュメント](https://www.starlette.dev/requests/) を参照してください。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  2. docs/ko/docs/how-to/custom-request-and-route.md

    /// note | 기술 세부사항
    
    `Request`에는 `request.scope` 속성이 있는데, 이는 요청과 관련된 메타데이터를 담고 있는 Python `dict`입니다.
    
    `Request`에는 또한 `request.receive`가 있는데, 이는 요청의 바디를 "받기(receive)" 위한 함수입니다.
    
    `scope` `dict`와 `receive` 함수는 모두 ASGI 명세의 일부입니다.
    
    그리고 이 두 가지, `scope`와 `receive`가 새로운 `Request` 인스턴스를 만드는 데 필요한 것들입니다.
    
    `Request`에 대해 더 알아보려면 [Starlette의 Requests 문서](https://www.starlette.dev/requests/)를 확인하세요.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  3. .ci/templates.t/pull-request-gradle-unix.yml

    ---
    - job:
        name: "elastic+elasticsearch+pull-request+{pr-job}"
        display-name: "elastic / elasticsearch - pull request {pr-job}"
        description: "Testing of Elasticsearch pull requests - {pr-job}"
        workspace: "/dev/shm/elastic+elasticsearch+pull-request+{pr-job}"
        scm:
          - git:
              refspec: "+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*"
              branches:
                - "${ghprbActualCommit}"
        triggers:
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 01 20:27:05 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/request-forms-and-files.md

    # Request Forms and Files { #request-forms-and-files }
    
    You can define files and form fields at the same time using `File` and `Form`.
    
    /// info
    
    To receive uploaded files and/or form data, first install [`python-multipart`](https://github.com/Kludex/python-multipart).
    
    Make sure you create a [virtual environment](../virtual-environments.md), activate it, and then install it, for example:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/request-forms-and-files.md

    # 请求表单与文件 { #request-forms-and-files }
    
    FastAPI 支持同时使用 `File` 和 `Form` 定义文件和表单字段。
    
    /// info | 信息
    
    接收上传的文件和/或表单数据,首先安装 [`python-multipart`](https://github.com/Kludex/python-multipart)。
    
    请先创建并激活一个[虚拟环境](../virtual-environments.md),然后再安装,例如:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## 导入 `File` 与 `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/request-forms-and-files.md

    # 請求中的表單與檔案 { #request-forms-and-files }
    
    你可以使用 `File` 與 `Form` 同時定義檔案與表單欄位。
    
    /// info
    
    要接收上傳的檔案與/或表單資料,請先安裝 [`python-multipart`](https://github.com/Kludex/python-multipart)。
    
    請先建立並啟用一個 [虛擬環境](../virtual-environments.md),然後再安裝,例如:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## 匯入 `File` 與 `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/request-forms-and-files.md

    # リクエストフォームとファイル { #request-forms-and-files }
    
    `File`と`Form`を同時に使うことでファイルとフォームフィールドを定義することができます。
    
    /// info | 情報
    
    アップロードされたファイルやフォームデータを受信するには、まず[`python-multipart`](https://github.com/Kludex/python-multipart)をインストールします。
    
    [仮想環境](../virtual-environments.md)を作成し、それを有効化してから、例えば次のようにインストールしてください:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## `File`と`Form`のインポート { #import-file-and-form }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  8. docs/en/docs/how-to/custom-request-and-route.md

    Some use cases include:
    
    * Converting non-JSON request bodies to JSON (e.g. [`msgpack`](https://msgpack.org/index.html)).
    * Decompressing gzip-compressed request bodies.
    * Automatically logging all request bodies.
    
    ## Handling custom request body encodings { #handling-custom-request-body-encodings }
    
    Let's see how to make use of a custom `Request` subclass to decompress gzip requests.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/how-to/custom-request-and-route.md

    /// note | 技術細節
    
    `Request` 具有 `request.scope` 屬性,它其實就是一個 Python 的 `dict`,包含與該請求相關的中繼資料。
    
    `Request` 也有 `request.receive`,那是一個用來「接收」請求本文的函式。
    
    `scope` 這個 `dict` 與 `receive` 函式都是 ASGI 規格的一部分。
    
    而 `scope` 與 `receive` 這兩者,就是建立一個新的 `Request` 實例所需的資料。
    
    想了解更多 `Request`,請參考 [Starlette 的 Request 文件](https://www.starlette.dev/requests/)。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  10. .ci/jobs.t/elastic+elasticsearch+pull-request+precommit.yml

    ---
    - job:
        name: "elastic+elasticsearch+pull-request+precommit"
        display-name: "elastic / elasticsearch - pull request precommit"
        description: "Testing of Elasticsearch pull requests - precommit"
        workspace: "/dev/shm/elastic+elasticsearch+pull-request+precommit"
        scm:
          - git:
              refspec: "+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*"
              branches:
                - "${ghprbActualCommit}"
        triggers:
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 01 20:27:05 GMT 2021
    - 1.3K bytes
    - Click Count (0)
Back to Top