[Python-checkins] BaseHTTPRequestHandler, that path includes query (GH-25597)
miss-islington
webhook-mailer at python.org
Sun Apr 25 13:30:23 EDT 2021
https://github.com/python/cpython/commit/2825f906c7aaa1a34793f628ae30a52ed9e9acb8
commit: 2825f906c7aaa1a34793f628ae30a52ed9e9acb8
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-04-25T10:30:15-07:00
summary:
BaseHTTPRequestHandler, that path includes query (GH-25597)
* Clarify, for BaseHTTPRequestHandler, that path includes query
Co-authored-by: David Jones <drj at pobox.com>
(cherry picked from commit a89d8a94a0dd0bd45349efad6d5ad68641f4ff9a)
Co-authored-by: Senthil Kumaran <senthil at uthcode.com>
files:
M Doc/library/http.server.rst
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst
index 478a5b31475cf..729d7e37137a8 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
More information about the Python-checkins
mailing list