github.com/hashicorp/go-retryablehttp
go
pkg:golang/github.com/hashicorp/go-retryablehttp
418 Dependabot PRs
12 days ago
301 repositories
2 repositories
Recent PRs
Bump github.com/hashicorp/go-retryablehttp from 0.7.0 to 0.7.7
kmetaxas/gafkalo #44
build(deps): bump the go_modules group across 11 directories with 6 updates
tlbueno/openshift-installer #2
Bump github.com/hashicorp/go-retryablehttp from 0.6.6 to 0.7.7
Bump github.com/hashicorp/go-retryablehttp from 0.7.1 to 0.7.7
astha-jain/packer-plugin-ibmcloud #3
Bump the go-security group across 1 directory with 4 updates
hashicorp/vault-ssh-helper #96
Bump the gomod group across 1 directory with 19 updates
sijockappen/itc-actions-runner-controller #6
Bump the gomod group across 1 directory with 19 updates
actions/actions-runner-controller #4235
Bump the gomod group across 1 directory with 16 updates
suhaskulkarni16/actions-runner-controller #10
Bump the combined group across 1 directory with 14 updates
raito-io/cli #439
chore(deps): bump the common group across 1 directory with 57 updates
suryatmodulus/trivy #335
chore(deps): bump the go_modules group across 2 directories with 13 updates
Bump the go_modules group across 1 directory with 9 updates
offsoc/vscan #7
Bump github.com/hashicorp/go-retryablehttp from 0.7.7 to 0.7.8
nebius/soperator #1503
Bump the go_modules group across 2 directories with 15 updates
feat(deps): bump the go_modules group with 12 updates
Bump the go_modules group across 5 directories with 18 updates
build(deps): bump github.com/hashicorp/go-retryablehttp from 0.6.6 to 0.7.7 in /tests/minikube
Bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7 in /atp
TsukemonoGit/nostr-monoGazo-bot #37
Bump the go_modules group across 3 directories with 10 updates
deps(deps): bump the patches group with 7 updates
SwissOpenEM/Ingestor #179
Bump the github-actions group across 1 directory with 7 updates
datarobot-community/terraform-provider-datarobot #191
Bump the gomod group across 1 directory with 19 updates
sijockappen/itc-actions-runner-controller #4
Bump the gomod group across 1 directory with 19 updates
actions/actions-runner-controller #4228
chore(deps): bump the common group with 48 updates
tnir/trivy #259
chore(deps): bump the go-deps group across 1 directory with 40 updates
michael-angelo-guban/go-ruder-server #43
chore(deps): bump the common group across 1 directory with 61 updates
tnir/trivy #257
chore(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.7 to 0.7.8
italia/publiccode-crawler #438
chore(deps): bump the common group across 1 directory with 47 updates
tonaim/trivy #342
Bump the combined group across 1 directory with 13 updates
raito-io/cli #438
chore(deps): Bump the minor-patch group across 1 directory with 30 updates
sigstore/policy-controller #1878
Bump the gomod group across 1 directory with 16 updates
suhaskulkarni16/actions-runner-controller #9
chore(deps): bump the common group with 44 updates
suryatmodulus/trivy #333
chore(deps): bump the common group with 50 updates
k-hal/trivy #389
chore(deps): bump the common group across 1 directory with 57 updates
suryatmodulus/trivy #330
chore(deps): bump the common group across 1 directory with 63 updates
k-hal/trivy #386
chore(deps): bump the go-deps group across 1 directory with 29 updates
chore(deps): bump the common group across 1 directory with 51 updates
build(deps): bump the dependencies group across 1 directory with 16 updates
Ehco1996/ehco #401
chore(deps): bump the common group across 1 directory with 51 updates
riddopic/trivy #158
Bump github.com/hashicorp/go-retryablehttp from 0.7.4 to 0.7.7 in /scripts/local-gitlab/seeder
gabrie30/ghorg #555
Bump github.com/hashicorp/go-retryablehttp from 0.7.7 to 0.7.8
incident-io/terraform-provider-incident #253
chore(deps): bump the go-deps group across 1 directory with 39 updates
michael-angelo-guban/go-ruder-server #42
build(deps): bump the gomod-backward-compatible group across 1 directory with 11 updates
hashicorp/terraform-provider-vault #2580
build(deps): bump the gomod-backward-compatible group with 13 updates
hashicorp/terraform-provider-vault #2579
Bump the go_modules group across 1 directory with 3 updates
nullstone-io/terraform-provider-ns #45
chore(deps): bump the go-deps group across 1 directory with 38 updates
michael-angelo-guban/go-ruder-server #41
chore(deps): bump the common group with 31 updates
tonaim/trivy #340
Bump the combined group with 12 updates
raito-io/cli #437
chore(deps): bump the common group across 1 directory with 44 updates
tonaim/trivy #337
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 |