Update request to include app

This commit is contained in:
0880
2026-01-17 18:12:51 +03:30
parent 569d400baf
commit 46ebe53f71

View File

@@ -38,11 +38,14 @@ class Headers:
class Request:
def __init__(self, method: str, path: str, headers: Headers, body: bytes):
def __init__(
self, method: str, path: str, headers: Headers, body: bytes, app: "App"
):
self.method = method
self.path = path
self.headers = headers
self.body = body
self.app = app
def __str__(self):
return str(