Project

Profile

Help

Issue #4733

Updated by bmbouter 10 months ago

h3. Problem

After Pulp redirects the user to Amazon S3 to download the file the user receives it but it does not have the correct filename. The Artifact filename is something stored in Pulp's database. It's also possible that one Artifact is present in multiple repos as various filenames so this needs to be set as a per-request piece of data.

h3. Solution

At the redirect time, we'll include the <code>response-content-disposition=attachment; filename=abc.doc';</code> fragment. This is similar to what Galaxy already did before: https://github.com/ansible/galaxy/blob/devel/galaxy/api/download/views.py#L65 TBD

Back