- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ZH (0.37 sec)
-
docs/zh/docs/tutorial/request-files.md
* 使用 `spooled` 文件: * 存储在内存的文件超出最大上限时,FastAPI 会把文件存入磁盘; * 这种方式更适于处理图像、视频、二进制文件等大型文件,好处是不会占用所有内存; * 可获取上传文件的元数据; * 自带 <a href="https://docs.python.org/zh-cn/3/glossary.html#term-file-like-object" class="external-link" target="_blank">file-like</a> `async` 接口; * 暴露的 Python <a href="https://docs.python.org/zh-cn/3/library/tempfile.html#tempfile.SpooledTemporaryFile" class="external-link" target="_blank">`SpooledTemporaryFile`</a> 对象,可直接传递给其他预期「file-like」对象的库。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 6.9K bytes - Viewed (0) -
docs/zh/docs/tutorial/body-updates.md
# 请求体 - 更新数据 ## 用 `PUT` 更新数据 更新数据请用 <a href="https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">HTTP `PUT`</a> 操作。 把输入数据转换为以 JSON 格式存储的数据(比如,使用 NoSQL 数据库时),可以使用 `jsonable_encoder`。例如,把 `datetime` 转换为 `str`。 ```Python hl_lines="30-35" {!../../../docs_src/body_updates/tutorial001.py!} ``` `PUT` 用于接收替换现有数据的数据。 ### 关于更新数据的警告 用 `PUT` 把数据项 `bar` 更新为以下内容时: ```Python {
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 3.6K bytes - Viewed (0) -
docs/en/mkdocs.yml
- link: /uk/ name: uk - українська мова - link: /ur/ name: ur - اردو - link: /vi/ name: vi - Tiếng Việt - link: /yo/ name: yo - Yorùbá - link: /zh/ name: zh - 简体中文 - link: /zh-hant/ name: zh-hant - 繁體中文 - link: /em/ name: 😉 extra_css: - css/termynal.css - css/custom.css extra_javascript: - js/termynal.js - js/custom.js hooks:
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/zh/docs/tutorial/request-forms.md
**FastAPI** 要确保从正确的位置读取数据,而不是读取 JSON。 !!! note "技术细节" 表单数据的「媒体类型」编码一般为 `application/x-www-form-urlencoded`。 但包含文件的表单编码为 `multipart/form-data`。文件处理详见下节。 编码和表单字段详见 <a href="https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">MDN</abbr> Web 文档的 <code>POST</code></a>小节。 !!! warning "警告"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 2.2K bytes - Viewed (0) -
docs/language_names.yml
ug: ئۇيغۇرچە uk: українська мова ur: اردو uz: Ўзбек ve: Tshivenḓa vi: Tiếng Việt vo: Volapük wa: walon wo: Wollof xh: isiXhosa yi: ייִדיש yo: Yorùbá za: Saɯ cueŋƅ zh: 简体中文 zh-hant: 繁體中文
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 22 19:42:53 GMT 2024 - 3.1K bytes - Viewed (0)