Skip to content

Added Content-Disposition header to attachment download endpoint response headers#1032

Merged
NickOvt merged 4 commits intozone-eu:masterfrom
jissepo:content-disposition-header-in-attachment-download
Mar 30, 2026
Merged

Added Content-Disposition header to attachment download endpoint response headers#1032
NickOvt merged 4 commits intozone-eu:masterfrom
jissepo:content-disposition-header-in-attachment-download

Conversation

@jissepo
Copy link
Copy Markdown
Contributor

@jissepo jissepo commented Mar 23, 2026

The HTTP Content-Disposition header indicates whether content should be displayed inline in the browser as a web page or part of a web page or downloaded as an attachment locally.

Since this is a download endpoint, it makes sense for it to always also return the content disposition header, with disposition set to attachment.

@NickOvt NickOvt requested a review from andris9 March 23, 2026 13:54
Comment thread lib/api/messages.js Outdated
@NickOvt NickOvt merged commit 2759a1b into zone-eu:master Mar 30, 2026
3 checks passed
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.

3 participants