diff --git a/JamfUploaderProcessors/JamfUploaderLib/JamfUploaderBase.py b/JamfUploaderProcessors/JamfUploaderLib/JamfUploaderBase.py index 4b81c5d9..cab1c1c9 100644 --- a/JamfUploaderProcessors/JamfUploaderLib/JamfUploaderBase.py +++ b/JamfUploaderProcessors/JamfUploaderLib/JamfUploaderBase.py @@ -394,6 +394,9 @@ def curl( # additional headers for advanced requests if additional_headers: curl_cmd.extend(additional_headers) + # add additional flags specified + if self.env.get("custom_curl_opts"): + curl_cmd.extend(self.env.get("custom_curl_opts")) self.output(f"curl command: {' '.join(curl_cmd)}", verbose_level=3)