]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
BaseHTTPRequestHandler, that path includes query (GH-25597)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 25 Apr 2021 17:30:15 +0000 (10:30 -0700)
committerGitHub <noreply@github.com>
Sun, 25 Apr 2021 17:30:15 +0000 (10:30 -0700)
* Clarify, for BaseHTTPRequestHandler, that path includes query

Co-authored-by: David Jones <drj@pobox.com>
(cherry picked from commit a89d8a94a0dd0bd45349efad6d5ad68641f4ff9a)

Co-authored-by: Senthil Kumaran <senthil@uthcode.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