- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for agent (0.13 sec)
-
docs/zh/docs/tutorial/header-params.md
## 自动转换 `Header` 比 `Path`、`Query` 和 `Cookie` 提供了更多功能。 大部分标准请求头用**连字符**分隔,即**减号**(`-`)。 但是 `user-agent` 这样的变量在 Python 中是无效的。 因此,默认情况下,`Header` 把参数名中的字符由下划线(`_`)改为连字符(`-`)来提取并存档请求头 。 同时,HTTP 的请求头不区分大小写,可以使用 Python 标准样式(即 **snake_case**)进行声明。 因此,可以像在 Python 代码中一样使用 `user_agent` ,无需把首字母大写为 `User_Agent` 等形式。 如需禁用下划线自动转换为连字符,可以把 `Header` 的 `convert_underscores` 参数设置为 `False`: === "Python 3.10+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 22:42:51 GMT 2024 - 5.4K bytes - Viewed (0) -
docs/de/docs/tutorial/header-params.md
Aber eine Variable wie `user-agent` ist in Python nicht gültig. Darum wird `Header` standardmäßig in Parameternamen den Unterstrich (`_`) zu einem Bindestrich (`-`) konvertieren. HTTP-Header sind außerdem unabhängig von Groß-/Kleinschreibung, darum können Sie sie mittels der Standard-Python-Schreibweise deklarieren (auch bekannt als "snake_case").
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:00:50 GMT 2024 - 6.4K bytes - Viewed (0) -
docs/en/docs/release-notes.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 03 23:25:42 GMT 2024 - 388.1K bytes - Viewed (1) -
docs/en/data/external_links.yml
- author: New Relic author_link: https://newrelic.com link: https://newrelic.com/instant-observability/fastapi/e559ec64-f765-4470-a15f-1901fcebb468 title: How to monitor FastAPI application performance using Python agent - author: Jean-Baptiste Rocher author_link: https://hashnode.com/@jibrocher link: https://dev.indooroutdoor.io/series/fastapi-react-poll-app title: Building the Poll App From Django Tutorial With FastAPI And React
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Mar 21 20:57:27 GMT 2024 - 21.3K bytes - Viewed (2)