ActionStreamer 0.4.1__tar.gz → 0.4.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/CommonFunctions/CommonFunctions.py +3 -3
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/PKG-INFO +1 -1
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/pyproject.toml +1 -1
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/CommonFunctions/Wifi/Wifi.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/CommonFunctions/Wifi/__init__.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/CommonFunctions/__init__.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/Config/Config.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/Config/__init__.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/Device/Device.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/Device/__init__.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/Model/Model.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/Model/__init__.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/API/API.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/API/__init__.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/Event/Event.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/Event/__init__.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/File/File.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/File/__init__.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/Health/Health.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/Health/__init__.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/LogMessage/LogMessage.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/LogMessage/__init__.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/Patch/Patch.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/Patch/__init__.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/VideoClip/VideoClip.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/VideoClip/__init__.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/__init__.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/__init__.py +0 -0
- {actionstreamer-0.4.1 → actionstreamer-0.4.2}/README.md +0 -0
{actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/CommonFunctions/CommonFunctions.py
RENAMED
|
@@ -106,8 +106,8 @@ def send_signed_request(ws_config: WebServiceConfig, method: str, url: str, path
|
|
|
106
106
|
if method.upper() == 'PUT':
|
|
107
107
|
response = requests.put(url, headers=headers, data=body, verify=verify, timeout=ws_config.timeout)
|
|
108
108
|
elif method.upper() == 'PATCH':
|
|
109
|
-
response = requests.patch(url, headers=headers, params=parameters, verify=verify, timeout=ws_config.timeout)
|
|
110
|
-
elif method.upper() == '
|
|
109
|
+
response = requests.patch(url, headers=headers, data=body, params=parameters, verify=verify, timeout=ws_config.timeout)
|
|
110
|
+
elif method.upper() == 'DELETE':
|
|
111
111
|
response = requests.delete(url, headers=headers, params=parameters, verify=verify, timeout=ws_config.timeout)
|
|
112
112
|
|
|
113
113
|
status_code = response.status_code
|
|
@@ -143,7 +143,7 @@ def get_hmac_signature(secret_key: str, method: str, path: str, headers, paramet
|
|
|
143
143
|
string_to_sign = '\n'.join([method, path, headerString, parameterString, body if body else ''])
|
|
144
144
|
|
|
145
145
|
string_to_sign = string_to_sign.strip()
|
|
146
|
-
|
|
146
|
+
log_to_console("stringToSign: " + string_to_sign)
|
|
147
147
|
|
|
148
148
|
# Generate the HMAC SHA256 signature
|
|
149
149
|
hmac_signature = hmac.new(secret_key.encode('utf-8'), string_to_sign.encode('utf-8'), hashlib.sha256)
|
|
File without changes
|
{actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/CommonFunctions/Wifi/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/LogMessage/LogMessage.py
RENAMED
|
File without changes
|
{actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/LogMessage/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/VideoClip/VideoClip.py
RENAMED
|
File without changes
|
{actionstreamer-0.4.1 → actionstreamer-0.4.2}/ActionStreamer/WebService/VideoClip/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|