]> 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:17:05 +0000 (10:17 -0700)
committerGitHub <noreply@github.com>
Sun, 25 Apr 2021 17:17:05 +0000 (10:17 -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 a367e373dc3c03b0b4223ab0782355dc348caad9..d54bd05cddded83d3abe43137dc8a2ff6df95ee8 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