- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 128 for 26 (0.13 sec)
-
docs/de/docs/tutorial/static-files.md
## `StaticFiles` verwenden * Importieren Sie `StaticFiles`. * „Mounten“ Sie eine `StaticFiles()`-Instanz in einem bestimmten Pfad. ```Python hl_lines="2 6" {!../../../docs_src/static_files/tutorial001.py!} ``` !!! note "Technische Details" Sie könnten auch `from starlette.staticfiles import StaticFiles` verwenden.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:27:14 GMT 2024 - 1.9K bytes - Viewed (0) -
docs/ru/docs/tutorial/static-files.md
## Использование `StaticFiles` * Импортируйте `StaticFiles`. * "Примонтируйте" экземпляр `StaticFiles()` с указанием определенной директории. ```Python hl_lines="2 6" {!../../../docs_src/static_files/tutorial001.py!} ``` !!! note "Технические детали" Вы также можете использовать `from starlette.staticfiles import StaticFiles`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 3.1K bytes - Viewed (0) -
docs/de/docs/advanced/security/http-basic-auth.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:28:08 GMT 2024 - 6.9K bytes - Viewed (0) -
internal/etag/etag_test.go
}, { // 5 ETag: ETag{32, 0, 15, 0, 219, 45, 144, 167, 180, 7, 130, 212, 207, 242, 180, 26, 119, 153, 252, 30, 126, 173, 37, 151, 45, 182, 81, 80, 17, 141, 251, 226, 186, 118, 163, 192, 2, 218, 40, 248, 92, 132, 12, 210, 0, 26, 40, 169}, String: "20000f00db2d90a7b40782d4cff2b41a7799fc1e7ead25972db65150118dfbe2ba76a3c002da28f85c840cd2001a28a9", }, } func TestString(t *testing.T) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 18 17:00:54 GMT 2023 - 12.6K bytes - Viewed (0) -
internal/grid/msg_string.go
const _Op_name = "ConnectConnectResponsePingPongConnectMuxMuxConnectErrorDisconnectClientMuxDisconnectServerMuxMuxClientMsgMuxServerMsgUnblockSrvMuxUnblockClMuxAckMuxRequestResponseDisconnectMerged" var _Op_index = [...]uint8{0, 7, 22, 26, 30, 40, 55, 74, 93, 105, 117, 130, 142, 148, 155, 163, 173, 179} func (i Op) String() string { i -= 1 if i >= Op(len(_Op_index)-1) { return "Op(" + strconv.FormatInt(int64(i+1), 10) + ")" }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 1.2K bytes - Viewed (0) -
docs/zh/docs/advanced/custom-request-and-route.md
接下来,创建使用 `GzipRequest` 的 `fastapi.routing.APIRoute ` 的自定义子类。 此时,这个自定义子类会覆盖 `APIRoute.get_route_handler()`。 `APIRoute.get_route_handler()` 方法返回的是函数,并且返回的函数接收请求并返回响应。 本例用它根据原始请求创建 `GzipRequest`。 ```Python hl_lines="18-26" {!../../../docs_src/custom_request_and_route/tutorial001.py!} ``` !!! note "技术细节" `Request` 的 `request.scope` 属性是包含关联请求元数据的字典。 `Request` 的 `request.receive` 方法是**接收**请求体的函数。
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) -
docs/en/docs/advanced/path-operation-advanced-configuration.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.7K bytes - Viewed (0) -
docs/en/docs/tutorial/schema-extra-example.md
=== "Python 3.10+ Pydantic v1" ```Python hl_lines="13-23" {!> ../../../docs_src/schema_extra_example/tutorial001_py310_pv1.py!} ``` === "Python 3.8+ Pydantic v2" ```Python hl_lines="15-26" {!> ../../../docs_src/schema_extra_example/tutorial001.py!} ``` === "Python 3.8+ Pydantic v1" ```Python hl_lines="15-25" {!> ../../../docs_src/schema_extra_example/tutorial001_pv1.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.8K bytes - Viewed (0) -
docs/zh/docs/tutorial/static-files.md
# 静态文件 您可以使用 `StaticFiles`从目录中自动提供静态文件。 ## 使用`StaticFiles` * 导入`StaticFiles`。 * "挂载"(Mount) 一个 `StaticFiles()` 实例到一个指定路径。 ```Python hl_lines="2 6" {!../../../docs_src/static_files/tutorial001.py!} ``` !!! note "技术细节" 你也可以用 `from starlette.staticfiles import StaticFiles`。 **FastAPI** 提供了和 `starlette.staticfiles` 相同的 `fastapi.staticfiles` ,只是为了方便你,开发者。但它确实来自Starlette。 ### 什么是"挂载"(Mounting)
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jun 03 12:49:32 GMT 2023 - 1.4K bytes - Viewed (0) -
docs/ko/docs/tutorial/static-files.md
# 정적 파일 'StaticFiles'를 사용하여 디렉토리에서 정적 파일을 자동으로 제공할 수 있습니다. ## `StaticFiles` 사용 * `StaticFiles` 임포트합니다. * 특정 경로에 `StaticFiles()` 인스턴스를 "마운트" 합니다. ```Python hl_lines="2 6" {!../../../docs_src/static_files/tutorial001.py!} ``` !!! note "기술적 세부사항" `from starlette.staticfiles import StaticFiles` 를 사용할 수도 있습니다.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 22 19:42:37 GMT 2024 - 2K bytes - Viewed (0)