Understanding xhr.status: HTTP Status Codes Explained
The 'xhr.status' property is a read-only property that returns the HTTP status code returned by the server. The status codes are three-digit numbers returned by the server to indicate the status of the requested resource. The status code returned by the server can be used to determine whether the request was successful or not. Some commonly used status codes include 200 ('OK'), 404 ('Not Found'), and 500 ('Internal Server Error').
原文地址: https://www.cveoy.top/t/topic/mFCh 著作权归作者所有。请勿转载和采集!