XHR should reject on 404 or 500 errors