Skip to content

feat: dl=1 flag serves file downloads as attachment - #74

Merged
william0wang merged 1 commit into
mainfrom
feat/file-download-dl-flag
Aug 23, 2026
Merged

feat: dl=1 flag serves file downloads as attachment#74
william0wang merged 1 commit into
mainfrom
feat/file-download-dl-flag

Conversation

@william0wang

Copy link
Copy Markdown
Owner

Summary

  • ?dl=1 on the fs byte path switches Content-Disposition from inline to
    attachment, so WebViews that implement a DownloadListener (the Android app
    routes these into the system DownloadManager) download instead of navigating.
  • HEAD mirrors GET; line windows stay unnamed; the auth/scope model is
    unchanged — same file, same token.

Test plan

  • New assertion in tests/remote-file-endpoint.test.ts (attachment form
    via the hub proxy).
  • Full suite 696/696, tsc, eslint, prettier clean.

Release 0.11.8.

@william0wang
william0wang merged commit 056a695 into main Aug 23, 2026
1 check passed
@william0wang
william0wang deleted the feat/file-download-dl-flag branch August 23, 2026 10:04
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.

1 participant