From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 25 Apr 2021 17:30:15 +0000 (-0700) Subject: BaseHTTPRequestHandler, that path includes query (GH-25597) X-Git-Tag: v3.9.5~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2825f906c7aaa1a34793f628ae30a52ed9e9acb8;p=thirdparty%2FPython%2Fcpython.git 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 --- 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