-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues and added correct labels.
Description
Current Behavior
When running ayon-python-api v1.2.7 versus a server running 1.13.6+202512171758 and calling
ayon_api.download_file(file_url, destination) I get a KeyError on 'content-length'
src/rvx_syndic/note.py:105: in path
ayon_api.download_file(
.venv/lib/python3.13/site-packages/ayon_api/_api.py:987: in download_file
return con.download_file(
.venv/lib/python3.13/site-packages/ayon_api/server_api.py:1489: in download_file
self.download_file_to_stream(
.venv/lib/python3.13/site-packages/ayon_api/server_api.py:1437: in download_file_to_stream
self._download_file_to_stream(
.venv/lib/python3.13/site-packages/ayon_api/server_api.py:1381: in _download_file_to_stream
response.headers["Content-length"]
If I downgrade to 1.2.6 the call is successful.
Steps To Reproduce:
No response
Additional context:
Version
ayon-python-api: 1.2.7
server: 1.13.6+202512171758
What platform were you running when you found the bug?
Linux - Rocky9