cargo-binstall/crates/bin
Jiahao XU 87686cb2f7
Feature: Better retry policy in binstalk-downloader (#794)
Fixed #779 #791 

 - Retry request on timeout
 - Retry for `StatusCode::{REQUEST_TIMEOUT, GATEWAY_TIMEOUT}`
 - Add `DEFAULT_RETRY_DURATION_FOR_RATE_LIMIT` for 503/429
   if 503/429 does not give us a header or give us an invalid header on
   when to retry, we would default to
   `DEFAULT_RETRY_DURATION_FOR_RATE_LIMIT`.
 - Fix `Client::get_redirected_final_url`: Retry using `GET` on status code 400..405 + 410
 - Rename remote_exists => remote_gettable & support fallback to GET
   if HEAD fails due to status code 400..405 + 410.
 - Improve `Client::get_stream`: Include url & method in the err of the stream returned

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-02-13 13:43:48 +11:00
..
src Feature: Better retry policy in binstalk-downloader (#794) 2023-02-13 13:43:48 +11:00
build.rs Fix crates/bin/build.rs: Rerun build.rs if manifest.rc and windows.manifest changed (#575) 2022-11-29 18:31:59 +13:00
Cargo.toml release: cargo-binstall v0.20.1 (#793) 2023-02-12 15:46:27 +11:00
LICENSE Split crates and clean up structure of codebase (#294) 2022-08-20 11:24:12 +00:00
manifest.rc Split crates and clean up structure of codebase (#294) 2022-08-20 11:24:12 +00:00
release.toml Fix release PR template (#336) 2022-09-04 15:19:17 +00:00
windows.manifest release: cargo-binstall v0.20.1 (#793) 2023-02-12 15:46:27 +11:00