]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
BaseHTTPRequestHandler, that path includes query (#25597)
authorSenthil Kumaran <senthil@uthcode.com>
Sun, 25 Apr 2021 17:08:29 +0000 (10:08 -0700)
committerGitHub <noreply@github.com>
Sun, 25 Apr 2021 17:08:29 +0000 (10:08 -0700)
* Clarify, for BaseHTTPRequestHandler, that path includes query

Co-authored-by: David Jones <drj@pobox.com>
Doc/library/http.server.rst

index 478a5b31475cfd8676b437a9c34c659c0dee1cc4..729d7e37137a810ca9a8613ddbc580a842603a24 100644 (file)
@@ -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