We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1716a6 commit a3b5877Copy full SHA for a3b5877
1 file changed
ayon_api/server_api.py
@@ -1792,7 +1792,10 @@ def _upload_file(
1792
url = self._endpoint_to_url(endpoint, use_rest=False)
1793
progress.set_destination_url(url)
1794
1795
- headers = kwargs.setdefault("headers", {})
+ headers = kwargs.get("headers")
1796
+ if headers is None:
1797
+ kwargs["headers"] = headers = {}
1798
+
1799
headers_keys_by_low_key = {key.lower(): key for key in headers}
1800
if self._session is None:
1801
for key, value in self.get_headers().items():
0 commit comments