Skip to content

removed obsolete parameter in boto3 - #552

Merged
melvinsoft merged 2 commits into
appsembler/tahoe/developfrom
maxi/fix-course-export
Mar 26, 2020
Merged

removed obsolete parameter in boto3#552
melvinsoft merged 2 commits into
appsembler/tahoe/developfrom
maxi/fix-course-export

Conversation

@melvinsoft

@melvinsoft melvinsoft commented Mar 25, 2020

Copy link
Copy Markdown

The parameter response_headers is not available in the new storage backend:

boto: https://github.com/jschneier/django-storages/blob/1.6.5/storages/backends/s3boto.py#L470

boto3: https://github.com/jschneier/django-storages/blob/master/storages/backends/s3boto3.py#L670

I just tried the change in staging hardcoding it, and it works perfect.

@thraxil thraxil left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a little confused though. We're using 1.6.5, which does seem to still have response_headers....

@thraxil

thraxil commented Mar 26, 2020

Copy link
Copy Markdown

@melvinsoft
melvinsoft merged commit d36a9de into appsembler/tahoe/develop Mar 26, 2020
@OmarIthawi
OmarIthawi deleted the maxi/fix-course-export branch March 26, 2020 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants