Update request to include app
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user