From d6322c9c459e2a06a08d41f95f6686ca4fa406c9 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sun, 25 Apr 2021 10:17:05 -0700 Subject: [PATCH] BaseHTTPRequestHandler, that path includes query (GH-25597) * Clarify, for BaseHTTPRequestHandler, that path includes query Co-authored-by: David Jones (cherry picked from commit a89d8a94a0dd0bd45349efad6d5ad68641f4ff9a) Co-authored-by: Senthil Kumaran --- Doc/library/http.server.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index a367e373dc3c..d54bd05cddde 100644 --- a/Doc/library/http.server.rst +++ b/Doc/library/http.server.rst @@ -98,7 +98,9 @@ provides three different variants: .. attribute:: path - Contains the request path. + Contains the request path. If query component of the URL is present, + then ``path`` includes the query. Using the terminology of :rfc:`3986`, + ``path`` here includes ``hier-part`` and the ``query``. .. attribute:: request_version -- 2.47.3