[Python-checkins] BaseHTTPRequestHandler, that path includes query (#25597)
orsenthil
webhook-mailer at python.org
Sun Apr 25 13:08:33 EDT 2021
https://github.com/python/cpython/commit/a89d8a94a0dd0bd45349efad6d5ad68641f4ff9a
commit: a89d8a94a0dd0bd45349efad6d5ad68641f4ff9a
branch: master
author: Senthil Kumaran <senthil at uthcode.com>
committer: orsenthil <skumaran at gatech.edu>
date: 2021-04-25T10:08:29-07:00
summary:
BaseHTTPRequestHandler, that path includes query (#25597)
* Clarify, for BaseHTTPRequestHandler, that path includes query
Co-authored-by: David Jones <drj at pobox.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