From: Senthil Kumaran Date: Sun, 25 Apr 2021 17:08:29 +0000 (-0700) Subject: BaseHTTPRequestHandler, that path includes query (#25597) X-Git-Tag: v3.10.0b1~166 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a89d8a94a0dd0bd45349efad6d5ad68641f4ff9a;p=thirdparty%2FPython%2Fcpython.git BaseHTTPRequestHandler, that path includes query (#25597) * Clarify, for BaseHTTPRequestHandler, that path includes query Co-authored-by: David Jones --- diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index 478a5b31475c..729d7e37137a 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