Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Content-Disposition header #168

Open
rodarima opened this issue May 13, 2024 · 1 comment
Open

Add support for Content-Disposition header #168

rodarima opened this issue May 13, 2024 · 1 comment
Labels
enhancement New feature or request network

Comments

@rodarima
Copy link
Member

The Content-Disposition header defines the name of the file when downloading a file and is being used by GitHub for Dillo releases:

% curl -sLI https://github.com/dillo-browser/dillo/releases/download/v3.1.0/dillo-3.1.0.tar.gz | grep -i content-disposition:
content-disposition: attachment; filename=dillo-3.1.0.tar.gz

Otherwise, the default filename is something like this:

/tmp/866a6385-0be9-4636-8299-9bb2867298d3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetpr

https://datatracker.ietf.org/doc/html/rfc6266

@rodarima rodarima added enhancement New feature or request network labels May 13, 2024
@rodarima
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request network
Projects
None yet
Development

No branches or pull requests

1 participant