Skip to content

Added *http.Response as an argument in PrepareRetry #253

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

reecerussell
Copy link

I've updates the PrepareRetry function allow consumers of the package to inspect the response of the last request made, to allow custom retry functionality. This allows developers to update the retry request based on specific failure cases of the last response.

Resolves #252

@reecerussell reecerussell requested review from a team as code owners March 24, 2025 15:51
Copy link

hashicorp-cla-app bot commented Mar 24, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose *http.Response in the PrepareRetry function
2 participants