Skip to content

[Updated] Document effect of validateStatus on interceptors #190

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

Merged

Conversation

selimb
Copy link
Contributor

@selimb selimb commented Jul 11, 2024

The interceptor documentation suggests that the onFulfilled interceptor is only ever called for 2xx responses. However, this is only true with the default validateStatus.

Copy link
Member

@jasonsaayman jasonsaayman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the contribution 🔥

@jasonsaayman jasonsaayman merged commit dfa11dc into axios:master Jul 29, 2025
4 checks passed
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.

2 participants