Skip to content

Xhr option not to reject on non-2xx response #8017

@taymonbeal

Description

@taymonbeal

For a Fast Fetch-related use case, I need the ability to distinguish network failures from non-2xx response codes in AJAX requests. I could do this with fetch except that that always rejects on a non-2xx response. Could an option be provided to not do that?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions