Skip to content

feat: Download a transfer with password from api v2#597

Merged
sirambd merged 2 commits intoupload-v2from
download-with-password
Mar 6, 2026
Merged

feat: Download a transfer with password from api v2#597
sirambd merged 2 commits intoupload-v2from
download-with-password

Conversation

@sirambd
Copy link
Member

@sirambd sirambd commented Mar 6, 2026

Depends on #595

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

This PR/issue depends on:

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for downloading transfers via API v2 when a password is required, by attaching an HTTP header to the Android DownloadManager request.

Changes:

  • Adds extraHeaders to the DownloadManagerUtils.requestFor(...) call to support passing a transfer password for API v2 downloads.
  • Restricts “download whole transfer as zip” behavior to API v1 (returns null for other API sources).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sirambd sirambd force-pushed the download-with-password branch from 0c19638 to ece9411 Compare March 6, 2026 13:24
@sirambd sirambd requested a review from LunarX March 6, 2026 13:28
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 6, 2026

@sirambd sirambd merged commit 3894071 into upload-v2 Mar 6, 2026
5 of 7 checks passed
@sirambd sirambd deleted the download-with-password branch March 6, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants