Skip to content

Call onError if HTTP status code >= 300 and not multipart mixed response.#56

Open
richardwu wants to merge 1 commit into
relay-tools:masterfrom
tensor-hq:http_non_200_onerror
Open

Call onError if HTTP status code >= 300 and not multipart mixed response.#56
richardwu wants to merge 1 commit into
relay-tools:masterfrom
tensor-hq:http_non_200_onerror

Conversation

@richardwu
Copy link
Copy Markdown

This enables middleware in https://github.com/relay-tools/react-relay-network-modern, for example the authMiddleware to properly switch on status code == 401.

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.

1 participant