fix(fetchers): Adjusting all cookies returned from each fetcher

The cookies returned now can be passed again to each fetcher's engine without further validation by us.
This commit is contained in:
Karim shoair
2025-05-10 19:16:34 +03:00
parent bd47c070aa
commit c84143129e
4 changed files with 11 additions and 21 deletions
+2 -2
View File
@@ -109,7 +109,7 @@ class Response(Adaptor):
body: bytes,
status: int,
reason: str,
cookies: Dict,
cookies: Union[Tuple[Dict[str, str], ...], Dict[str, str]],
headers: Dict,
request_headers: Dict,
encoding: str = "utf-8",
@@ -132,7 +132,7 @@ class Response(Adaptor):
encoding=encoding,
**adaptor_arguments,
)
# For back-ward compatibility
# For backward compatibility
self.adaptor = self
# For easier debugging while working from a Python shell
log.info(