mirror of
https://github.com/nirvana-7777/script.service.ultimate.git
synced 2026-09-16 22:22:27 +02:00
magentaeu: hr uses tls_impersonation
This commit is contained in:
@@ -44,6 +44,9 @@ class HTTPManager:
|
||||
self._setup_session()
|
||||
|
||||
def _setup_session(self) -> None:
|
||||
logger.debug(
|
||||
f"{self.config.provider}: _setup_session called, use_tls_impersonation={self.config.use_tls_impersonation}")
|
||||
|
||||
self._using_cffi = False
|
||||
|
||||
if self.config.use_tls_impersonation:
|
||||
@@ -209,6 +212,8 @@ class HTTPManager:
|
||||
the target URL, unless the caller has already set those headers explicitly.
|
||||
Logs the redirect chain when providers set cookies mid-redirect.
|
||||
"""
|
||||
logger.debug(f"{self.config.provider}: _using_cffi={self._using_cffi} for {method} {url}")
|
||||
|
||||
# Get base request configuration
|
||||
request_kwargs = self.config.get_request_kwargs(operation)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user