summaryrefslogtreecommitdiffstats
path: root/ttun_server/types.py
diff options
context:
space:
mode:
Diffstat (limited to 'ttun_server/types.py')
-rw-r--r--ttun_server/types.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/ttun_server/types.py b/ttun_server/types.py
index 9052a0e..643ff21 100644
--- a/ttun_server/types.py
+++ b/ttun_server/types.py
@@ -8,15 +8,13 @@ class Config(TypedDict):
8class RequestData(TypedDict): 8class RequestData(TypedDict):
9 method: str 9 method: str
10 path: str 10 path: str
11 headers: dict 11 headers: list[tuple[str, str]]
12 cookies: dict
13 body: Optional[str] 12 body: Optional[str]
14 13
15 14
16class ResponseData(TypedDict): 15class ResponseData(TypedDict):
17 status: int 16 status: int
18 headers: dict 17 headers: list[tuple[str, str]]
19 cookies: dict
20 body: Optional[str] 18 body: Optional[str]
21 19
22 20