From f6fbe3779026f719c7b6cb514823110b29e75b88 Mon Sep 17 00:00:00 2001 From: Yuki <60097976+binaryYuki@users.noreply.github.com> Date: Sat, 25 May 2024 18:51:09 +0800 Subject: [PATCH] fix error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit HTTPConnection 类一节,“您可以从 fastapi.requests 中导入该参数:”表述不准确, “该参数”需要去掉。 --- docs/zh/docs/reference/httpconnection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/zh/docs/reference/httpconnection.md b/docs/zh/docs/reference/httpconnection.md index 673d15e925..5778124360 100644 --- a/docs/zh/docs/reference/httpconnection.md +++ b/docs/zh/docs/reference/httpconnection.md @@ -2,7 +2,7 @@ 当你想定义同时兼容 HTTP 和 WebSockets 的依赖关系时,你可以定义一个使用 `HTTPConnection` 而不是 `Request` 或 `WebSocket` 的参数。 -您可以从 `fastapi.requests` 中导入该参数: +您可以从 `fastapi.requests` 中导入: ```python from fastapi.requests import HTTPConnection