This handler is still used in other failure cases, e.g. if a 500 status code is received from the server, in which case the responseText will contain the response body (error page).