feross / feross/simple-get

feature: retry support

Open
#88 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
402
Forks
49
PR merge metrics
No merged PRs in 30d

Description

Hi,

Does this module support retries?

To try to make a case for the importance of such a feature:
- they are just very useful in real-world scenarios when you hope to make downloads more reliable
- `wget` automatically retries
- `curl` optionally allows retries
- [Invoke-WebRequest](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-7.5 ) includes the options -MaximumRetryCount -RetryIntervalSec

The reason to mention Invoke_WebRequest is, those would be the sorts of options to add: "count" and "interval".

However, you may reply "There's this other library which already does exactly what you want. Switch to that. Simple-get won't add complex features, because it's 'simple'. " Not sure...

Thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.