Http request status code is 0

Problem found: status code is 0

 problem analysis:

The return code of the XMLHttpRequest HTTP request is O http status =0. Because the user closes/cancels before the http return, or the firewall and other reasons, the http request will have no status information. w3c has a corresponding description:

XMLHttpRequest Level 1 icon-default.png?t=MBR7https://www.w3.org/TR/XMLHttpRequest/#the-status-attribute

Guess you like

Origin blog.csdn.net/summer_fish/article/details/128749400