You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to generate a download url for an S3 file/key and want to change the filename when the downloaded file is saved locally (using the Content-Disposition header).
I'm trying to generate a download url for an S3 file/key and want to change the filename when the downloaded file is saved locally (using the Content-Disposition header).
The
key.generate_url
method uses thes3.connection.generate_url_sigv4
method and this function doesn't seem to use theresponse_headers
argument, so my Content-Disposition header is not used in the response.In the normal
s3.connection.generate_url
, the response headers are added to the query path like described in the S3 documentation.Kind regards,
Peter
The text was updated successfully, but these errors were encountered: