File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ # 1.3.1
4+ - Fixed header contamination in download file content-type
5+
36# 1.3.0
47- Updated version and usage of the filesplit package
58- Updated README.md with information about scopes and the license
Original file line number Diff line number Diff line change 55
66setuptools .setup (
77 name = "solvexia_sdk" ,
8- version = "1.3.0 " ,
9- author = "SolveXia Pty Ltd" ,
8+ version = "1.3.1 " ,
9+ author = "Solvexia Pty Ltd" ,
1010 author_email = "support@solvexia.com" ,
11- description = "A development kit written in Python to access and work with SolveXia resources" ,
11+ description = "A development kit written in Python to access and work with Solvexia resources" ,
1212 long_description = long_description ,
1313 long_description_content_type = "text/markdown" ,
1414 url = "https://github.com/solvexia/solvexia-python-sdk" ,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ def upload_file(self, file):
3232
3333 def download_file (self ):
3434 download_file_url = api .base_url + f"files/{ self .file_id } "
35- headers = api .access_token
35+ headers = api .access_token . copy ()
3636 headers ['Content-Type' ] = 'application/octet-stream'
3737 response = requests .get (download_file_url , headers = headers )
3838 api .status_code_check (response , f"Error downloading file with file_id { self .file_id } " )
You can’t perform that action at this time.
0 commit comments