Allow specifying per-item request headers (for playback and downloads)
See original GitHub issueI have different cookies for each video.
so each time new video is loaded, I set DownloadManager with new cookie.
defaultHttpDataSourceFactory.getDefaultRequestProperties().set("Cookie", cookieValue);
however, I can only download video for the first time.
I think DownloadService seems to call DownloadManager only when DownloadService is started for the first time.
How do I download video with each different cookie?
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (5 by maintainers)
Top Results From Across the Web
Access-Control-Allow-Headers - HTTP - MDN Web Docs
This example shows Access-Control-Allow-Headers when it specifies support for multiple headers. Access-Control-Allow-Headers: X-Custom-Header, ...
Read more >Request Headers | Amazon Music Device API
This header allows a different maximum size to be specified for each image role. The valid image roles are: navigation-node; item; track-container; track;...
Read more >php proxy url
When I open the Nextcloud URL nginx proxies the request to apache and ... Most browsers allow you to specify a list of...
Read more >HTTP security headers: An easy way to harden your web ...
First up are the three best-known and probably most important HTTP response headers that any modern web application should be setting to ...
Read more >HTTP Headers for File Downloads - Stack Overflow
As explained by Alex's link you're probably missing the header ... Download Script</title><body>ERROR: download file NOT SPECIFIED.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1 for specifying headers in a
DownloadRequest
orMediaItem
. Headers are used pretty commonly in authentication schemas and it would be useful to be able to specify them on a per-request basis.Is there any update on this? I’m running into the problem that I can’t download files that require an authentication header.