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
beforeRequest hook called after beforeRetry #500
Comments
I think this is expected behavior. It's called for every single request with no exception. A retry is a request. We should clearly point that out in the docs, however. Maybe the request could somehow indicate that it's a request caused by a retry. |
Got it thanks for your response |
No need to close. There are unresolved tasks here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please verify if this is the correct flow or not I was not expecting "beforeRequest "to be called again after "beforeRetry", my use case is that I refresh the token and set the Authorization header in "beforeRetry "but it gets overridden by "beforeRequest".
thanks in advance.
The text was updated successfully, but these errors were encountered: