Skip to content
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

Modify headers on each retry #11

Open
Christopotamus opened this issue Aug 30, 2018 · 1 comment
Open

Modify headers on each retry #11

Christopotamus opened this issue Aug 30, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request Hacktoberfest

Comments

@Christopotamus
Copy link

Is there any way to modify the headers before each retry?

I have an auth token which expires and must be refreshed, but having tenacioius-fetch retry on 401 seems to be sending the same old token. It would be super helpful if we can replace headers on each retry.

@tiaanduplessis tiaanduplessis self-assigned this Sep 19, 2018
@tiaanduplessis tiaanduplessis added the enhancement New feature or request label Sep 19, 2018
@tiaanduplessis
Copy link
Owner

@Christopotamus I agree that it would be helpful. Wil look into implementing ASAP 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants