request.url attribute with the complete URL of the request

This commit is contained in:
Miguel Grinberg
2022-09-24 19:33:46 +01:00
parent 672512e086
commit 1547e861ee

View File

@@ -277,6 +277,8 @@ class Request():
self.client_addr = client_addr
#: The HTTP method of the request.
self.method = method
#: The request URL, including the path and query string.
self.url = url
#: The path portion of the URL.
self.path = url
#: The query string portion of the URL.