statusText property

String? statusText
getter/setter pair

A String containing the response's status message as returned by the HTTP server. Unlike AjaxRequest.status which indicates a numerical status code, this property contains the text of the response status, such as "OK" or "Not Found". If the request's readyState is in AjaxRequestReadyState.UNSENT or AjaxRequestReadyState.OPENED state, the value of statusText will be an empty string. If the server response doesn't explicitly specify a status text, statusText will assume the default value "OK".

Implementation

String? statusText;