network.request isError

When is event.isError flagged true when executing a network request? I’ve discovered that, unlike in the past when a no response was set to nil, isError is true if there is no internet connection. What other conditions might set this to true? 400 cases? 500 cases?

If you get an HTTP status back (200, 301, 404, etc.) your network.request() was successful, you just don’t like the answer, so isError will be false. Timeouts, server’s not responding with a valid HTTP request, server doesn’t exist.

Rob

If you get an HTTP status back (200, 301, 404, etc.) your network.request() was successful, you just don’t like the answer, so isError will be false. Timeouts, server’s not responding with a valid HTTP request, server doesn’t exist.

Rob