diff options
Diffstat (limited to 'src/hydrilla/proxy/csp.py')
-rw-r--r-- | src/hydrilla/proxy/csp.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hydrilla/proxy/csp.py b/src/hydrilla/proxy/csp.py index 59d93f2..52047da 100644 --- a/src/hydrilla/proxy/csp.py +++ b/src/hydrilla/proxy/csp.py @@ -37,7 +37,7 @@ import dataclasses as dc from immutables import Map, MapMutation -from .policies.base import IHeaders +from . import http_messages header_names_and_dispositions = ( @@ -106,7 +106,8 @@ class ContentSecurityPolicy: disposition = disposition ) -def extract(headers: IHeaders) -> tuple[ContentSecurityPolicy, ...]: +def extract(headers: http_messages.IHeaders) \ + -> tuple[ContentSecurityPolicy, ...]: """....""" csp_policies = [] |