Add custom request headers and resumable concurrent downloads - #1201
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1201 +/- ##
==========================================
+ Coverage 68.89% 72.89% +4.00%
==========================================
Files 9 10 +1
Lines 913 1199 +286
==========================================
+ Hits 629 874 +245
- Misses 284 325 +41
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
AndreyVMarkelov
force-pushed
the
add_support_extra_headers
branch
2 times, most recently
from
August 5, 2026 16:15
b8eef74 to
18e65f3
Compare
AndreyVMarkelov
force-pushed
the
add_support_extra_headers
branch
3 times, most recently
from
August 5, 2026 17:14
33ab959 to
a8ce09a
Compare
rhui-dbx
approved these changes
Aug 5, 2026
AndreyVMarkelov
force-pushed
the
add_support_extra_headers
branch
4 times, most recently
from
August 5, 2026 19:10
3490f66 to
93a1749
Compare
Add per-request HTTP headers to RPC, upload, and download requests while preserving SDK-managed headers. Also add a Node.js file download helper with support for resumable .part files, concurrent range downloads, retry backoff, progress reporting, revision checks, response validation, and Dropbox content hash verification.
AndreyVMarkelov
force-pushed
the
add_support_extra_headers
branch
from
August 5, 2026 19:18
93a1749 to
2ae17c5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds support for per-request HTTP headers and introduces a Node.js helper for reliable file downloads.
The new extraHeaders option allows callers to provide headers such as Range on individual SDK requests while preventing overrides of SDK-managed headers.
It also adds a public downloadFile helper for Node.js that supports resumable downloads, concurrent byte ranges, retries, integrity validation, and progress reporting.
Changes
Per-request headers
Example:
Node.js download helper
Example: