Skip to content

Commit 99129db

Browse files
committed
asgi also return headers type
1 parent 3a62e36 commit 99129db

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

aikido_zen/context/asgi/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@
55
from ..parse_cookies import parse_cookies
66
from .extract_asgi_headers import extract_asgi_headers
77
from .build_url_from_asgi import build_url_from_asgi
8+
from ...helpers.headers import Headers
89

910

1011
@dataclass
1112
class ASGIContext:
1213
method: str
13-
headers: Dict[str, List[str]]
14+
headers: Headers
1415
cookies: dict
1516
url: str
1617
query: dict

0 commit comments

Comments
 (0)