Skip to content

Commit a89d8a9

Browse files
orsenthildrj11
andauthored
BaseHTTPRequestHandler, that path includes query (#25597)
* Clarify, for BaseHTTPRequestHandler, that path includes query Co-authored-by: David Jones <drj@pobox.com>
1 parent c9c27b8 commit a89d8a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/library/http.server.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ provides three different variants:
9898

9999
.. attribute:: path
100100

101-
Contains the request path.
101+
Contains the request path. If query component of the URL is present,
102+
then ``path`` includes the query. Using the terminology of :rfc:`3986`,
103+
``path`` here includes ``hier-part`` and the ``query``.
102104

103105
.. attribute:: request_version
104106

0 commit comments

Comments
 (0)