- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 129 for requested (0.17 sec)
-
tests/test_tutorial/test_additional_responses/test_tutorial003.py
} }, }, "200": { "description": "Item requested by ID", "content": { "application/json": { "schema": {"$ref": "#/components/schemas/Item"},
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 4.5K bytes - Viewed (0) -
docs_src/additional_responses/tutorial003.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 837 bytes - Viewed (0) -
.github/workflows/issue-manager.yml
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 30 18:46:56 GMT 2024 - 1.1K bytes - Viewed (0) -
docs/en/docs/deployment/https.md
### HTTPS Request Now that the client and server (specifically the browser and the TLS Termination Proxy) have an **encrypted TCP connection**, they can start the **HTTP communication**. So, the client sends an **HTTPS request**. This is just an HTTP request through an encrypted TLS connection. <img src="/img/deployment/https/https04.svg"> ### Decrypt the Request
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 12K bytes - Viewed (0) -
docs/en/docs/reference/request.md
# `Request` class You can declare a parameter in a *path operation function* or dependency to be of type `Request` and then you can access the raw request object directly, without any validation, etc. You can import it directly from `fastapi`: ```python from fastapi import Request ``` !!! tip
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 516 bytes - Viewed (0) -
docs/em/docs/tutorial/request-files.md
```Python hl_lines="9 17" {!> ../../../docs_src/request_files/tutorial001_02.py!} ``` === "🐍 3️⃣.1️⃣0️⃣ & 🔛" ```Python hl_lines="7 14" {!> ../../../docs_src/request_files/tutorial001_02_py310.py!} ``` ## `UploadFile` ⏮️ 🌖 🗃 👆 💪 ⚙️ `File()` ⏮️ `UploadFile`, 🖼, ⚒ 🌖 🗃: ```Python hl_lines="13" {!../../../docs_src/request_files/tutorial001_03.py!} ``` ## 💗 📁 📂
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 6.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/request-files.md
## `File` 임포트 `fastapi` 에서 `File` 과 `UploadFile` 을 임포트 합니다: ```Python hl_lines="1" {!../../../docs_src/request_files/tutorial001.py!} ``` ## `File` 매개변수 정의 `Body` 및 `Form` 과 동일한 방식으로 파일의 매개변수를 생성합니다: ```Python hl_lines="7" {!../../../docs_src/request_files/tutorial001.py!} ``` !!! info "정보" `File` 은 `Form` 으로부터 직접 상속된 클래스입니다.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 8.1K bytes - Viewed (0) -
docs/ja/docs/tutorial/request-forms.md
## `Form`のインポート `fastapi`から`Form`をインポートします: ```Python hl_lines="1" {!../../../docs_src/request_forms/tutorial001.py!} ``` ## `Form`のパラメータの定義 `Body`や`Query`の場合と同じようにフォームパラメータを作成します: ```Python hl_lines="7" {!../../../docs_src/request_forms/tutorial001.py!} ``` 例えば、OAuth2仕様が使用できる方法の1つ(「パスワードフロー」と呼ばれる)では、フォームフィールドとして`username`と`password`を送信する必要があります。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 3.3K bytes - Viewed (0) -
docs/zh/docs/advanced/using-request-directly.md
但在某些特定情况下,还是需要提取 `Request` 对象。 ## 直接使用 `Request` 对象 假设要在*路径操作函数*中获取客户端 IP 地址和主机。 此时,需要直接访问请求。 ```Python hl_lines="1 7-8" {!../../../docs_src/using_request_directly/tutorial001.py!} ``` 把*路径操作函数*的参数类型声明为 `Request`,**FastAPI** 就能把 `Request` 传递到参数里。 !!! tip "提示" 注意,本例除了声明请求参数之外,还声明了路径参数。 因此,能够提取、验证路径参数、并转换为指定类型,还可以用 OpenAPI 注释。 同样,您也可以正常声明其它参数,而且还可以提取 `Request`。 ## `Request` 文档
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 22:44:02 GMT 2024 - 2K bytes - Viewed (0) -
docs/zh/docs/advanced/custom-request-and-route.md
```Python hl_lines="18-26" {!../../../docs_src/custom_request_and_route/tutorial001.py!} ``` !!! note "技术细节" `Request` 的 `request.scope` 属性是包含关联请求元数据的字典。 `Request` 的 `request.receive` 方法是**接收**请求体的函数。 `scope` 字典与 `receive` 函数都是 ASGI 规范的内容。 `scope` 与 `receive` 也是创建新的 `Request` 实例所需的。 `Request` 的更多内容详见 <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">Starlette 官档 - 请求</a>。
Plain Text - Registered: Sun Mar 31 07:19:09 GMT 2024 - Last Modified: Sat Mar 30 22:45:40 GMT 2024 - 3.8K bytes - Viewed (0)