We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d409c5 commit 109a69aCopy full SHA for 109a69a
socketdev/core/api.py
@@ -16,6 +16,7 @@
16
from socketdev.version import __version__
17
from requests.exceptions import Timeout, ConnectionError
18
import time
19
+import urllib.parse
20
21
22
class API:
@@ -47,6 +48,7 @@ def do_request(
47
48
"User-Agent": f"SocketPythonScript/{__version__}",
49
"accept": "application/json",
50
}
51
+ path = urllib.parse.quote(path)
52
url = f"{self.api_url}/{path}"
53
54
def format_headers(headers_dict):
socketdev/version.py
@@ -1 +1 @@
1
-__version__ = "2.0.11"
+__version__ = "2.0.12"
0 commit comments