- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Bytes (0.14 sec)
-
docs/zh/docs/advanced/custom-response.md
### `Response` 其他全部的响应都继承自主类 `Response`。 你可以直接返回它。 `Response` 类接受如下参数: * `content` - 一个 `str` 或者 `bytes`。 * `status_code` - 一个 `int` 类型的 HTTP 状态码。 * `headers` - 一个由字符串组成的 `dict`。 * `media_type` - 一个给出媒体类型的 `str`,比如 `"text/html"`。
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) -
docs/de/docs/advanced/custom-response.md
```Python hl_lines="1 18" {!../../../docs_src/response_directly/tutorial002.py!} ``` ### `HTMLResponse` Nimmt Text oder Bytes entgegen und gibt eine HTML-Response zurück, wie Sie oben gelesen haben. ### `PlainTextResponse` Nimmt Text oder Bytes entgegen und gibt eine Plain-Text-Response zurück. ```Python hl_lines="2 7 9" {!../../../docs_src/custom_response/tutorial005.py!} ```
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) -
docs/en/docs/advanced/custom-response.md
```Python hl_lines="1 18" {!../../../docs_src/response_directly/tutorial002.py!} ``` ### `HTMLResponse` Takes some text or bytes and returns an HTML response, as you read above. ### `PlainTextResponse` Takes some text or bytes and returns an plain text response. ```Python hl_lines="2 7 9" {!../../../docs_src/custom_response/tutorial005.py!} ``` ### `JSONResponse`
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) -
docs/ja/docs/advanced/custom-response.md
### `Response` メインの `Response` クラスで、他の全てのレスポンスはこれを継承しています。 直接返すことができます。 以下のパラメータを受け付けます。 * `content` - `str` か `bytes`。 * `status_code` - `int` のHTTPステータスコード。 * `headers` - 文字列の `dict` 。 * `media_type` - メディアタイプを示す `str` 。例えば `"text/html"` 。
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) -
docs/em/docs/advanced/custom-response.md
### `Response` 👑 `Response` 🎓, 🌐 🎏 📨 😖 ⚪️➡️ ⚫️. 👆 💪 📨 ⚫️ 🔗. ⚫️ 🚫 📄 🔢: * `content` - `str` ⚖️ `bytes`. * `status_code` - `int` 🇺🇸🔍 👔 📟. * `headers` - `dict` 🎻. * `media_type` - `str` 🤝 📻 🆎. 🤶 Ⓜ. `"text/html"`. FastAPI (🤙 💃) 🔜 🔁 🔌 🎚-📐 🎚. ⚫️ 🔜 🔌 🎚-🆎 🎚, ⚓️ 🔛 = & 🔁 = ✍ 🆎.
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)