When generating a pre-signed URL for download and specifying response-content-disposition to set a target filename, the actual download does not contain the Content-Disposition header therefore the download file does not have the requested filename.

I have confirmed that this works corrected in S3 itself.

I'd be happy to explore a fix if anyone can point me in the right direction/location.
lifecycle = BUCKET_LIFECYCLE.get(bucket_name)
    if not lifecycle:
        
        lifecycle = {
            'LifecycleConfiguration': {}
        }
    body = xmltodict.unparse(lifecycle)
    return requests_response(body)
def get_replication(bucket_name):
    
    
    
    
    
    
    
    
    
    
    config = {}
    result = {
        'ReplicationConfiguration': config
    }
    body = xmltodict.unparse(result)
    return requests_response(body)
def get_encryption(bucket_name):