From a89d8a94a0dd0bd45349efad6d5ad68641f4ff9a Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Sun, 25 Apr 2021 10:08:29 -0700 Subject: BaseHTTPRequestHandler, that path includes query (#25597) * Clarify, for BaseHTTPRequestHandler, that path includes query Co-authored-by: David Jones --- 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 478a5b3..729d7e3 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 -- cgit v0.12