From dc40410b4f8bcee504a4db742542ce15b58b7846 Mon Sep 17 00:00:00 2001 From: Fazal Date: Sun, 11 Jan 2026 05:52:21 +0530 Subject: [PATCH] docs: fix incorrect description of Header parameter conversion Corrected the explanation of how Header converts parameter names. --- docs/en/docs/tutorial/header-params.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/docs/tutorial/header-params.md b/docs/en/docs/tutorial/header-params.md index 3765956a0..5ec54ae45 100644 --- a/docs/en/docs/tutorial/header-params.md +++ b/docs/en/docs/tutorial/header-params.md @@ -38,7 +38,7 @@ Most of the standard headers are separated by a "hyphen" character, also known a But a variable like `user-agent` is invalid in Python. -So, by default, `Header` will convert the parameter names characters from underscore (`_`) to hyphen (`-`) to extract and document the headers. +So, by default, `Header` will convert the parameter names characters from hyphen (`-`) to underscore (`_`) to extract and document the headers. Also, HTTP headers are case-insensitive, so, you can declare them with standard Python style (also known as "snake_case").