Actions
action #179972
openAdd continuing downloads in `openqa-cli download` sub-command supporting authentication
Status:
Blocked
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2025-02-04
Due date:
% Done:
0%
Estimated time:
Description
Updated by okurz 15 days ago
- Copied from action #176556: Add `openqa-cli download` sub-command supporting authentication size:S added
Updated by kraih 15 days ago ยท Edited
While simple file downloads are easy with Mojo::UserAgent
, there is no support for resuming interrupted downloads yet. So far Range
requests for partial files only exist as an actual feature on the server-side (unit test here). But i'd be open to accepting this as an upstream feature in Mojolicious. Feel free to talk to me if you want to figure out the right API. I imagine the most efficient implementation will involve streaming responses.
Updated by kraih 14 days ago
Due to the fact that Mojo::UserAgent
supports blocking and non-blocking APIs this is actually a rather tricky feature to contribute upstream. So i've made a little proof of concept to figure things out.
Actions