summaryrefslogtreecommitdiff
path: root/searx/network/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/network/client.py')
-rw-r--r--searx/network/client.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/searx/network/client.py b/searx/network/client.py
index 6858ac05b..11086dd33 100644
--- a/searx/network/client.py
+++ b/searx/network/client.py
@@ -4,7 +4,9 @@
import asyncio
import logging
+from ssl import SSLContext
import threading
+from typing import Any, Dict
import httpx
from httpx_socks import AsyncProxyTransport
@@ -23,7 +25,7 @@ else:
logger = logger.getChild('searx.network.client')
LOOP = None
-SSLCONTEXTS = {}
+SSLCONTEXTS: Dict[Any, SSLContext] = {}
TRANSPORT_KWARGS = {
'trust_env': False,
}