github.com/hashicorp/go-retryablehttp
go
pkg:golang/github.com/hashicorp/go-retryablehttp
402 Dependabot PRs
4 days ago
293 repositories
32 repositories
Recent PRs (filtered by: Open )
Bump the go_modules group across 1 directory with 7 updates
SbruiceS/terraform-provider-azurerm #2

Bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7

chore(deps): bump the go_modules group across 1 directory with 9 updates

Bump github.com/hashicorp/go-retryablehttp from 0.7.2 to 0.7.7 in /examples

Bump the go_modules group across 1 directory with 10 updates

chore(deps): Bump the go_modules group across 2 directories with 6 updates
datacosmos-br/reports-server #4

chore(deps): bump the go_modules group across 1 directory with 3 updates

Bump github.com/hashicorp/go-retryablehttp from 0.7.1 to 0.7.7
CZERTAINLY/CZERTAINLY-HashiCorp-Vault-Connector #45

build(deps): bump the go_modules group across 1 directory with 3 updates

chore(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7 in /router
scorebet/cosmo #10

go: bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7
sacloud/usacloud #1137

go: bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7

Bump github.com/hashicorp/go-retryablehttp from 0.6.7 to 0.7.7
opensearch-project/opensearch-cli #95

Package Details
Name: | github.com/hashicorp/go-retryablehttp |
Ecosystem: | go |
PURL Type: | golang |
Package URL: | pkg:golang/github.com/hashicorp/go-retryablehttp |
JSON API: | View JSON |
Security Advisories
Package Information
Package retryablehttp provides a familiar HTTP client interface with automatic retries and exponential backoff. It is a thin wrapper over the standard net/http client library and exposes nearly the same public API. This makes retryablehttp very easy to drop into existing programs. retryablehttp performs automatic retries under certain conditions. Mainly, if an error is returned by the client (connection errors etc), or if a 500-range response is received, then a retry is invoked. Otherwise, the response is returned and left to the caller to interpret. Requests which take a request body should provide a non-nil function parameter. The best choice is to provide either a function satisfying ReaderFunc which provides multiple io.Readers in an efficient manner, a *bytes.Buffer (the underlying raw byte slice will be used) or a raw byte slice. As it is a reference type, and we will wrap it as needed by readers, we can efficiently re-use the request body without needing to copy it. If an io.Reader (such as a *bytes.Reader) is provided, the full body will be read prior to the first request, and will be efficiently re-used for any retries. ReadSeeker can be used, but some users have observed occasional data races between the net/http library and the Seek functionality of some implementations of ReadSeeker, so should be avoided if possible.
Repository: | https://github.com/hashicorp/go-retryablehttp |
Homepage: | https://github.com/hashicorp/go-retryablehttp |
Latest Release: |
v0.7.7
over 1 year ago |
Dependent Repos: | 34,302 |
Dependent Packages: | 10,318 |
Ranking: | Top 0.0317% by dependent repos Top 0.018% by dependent pkgs |