Why is AJAX returning HTTP status code 0?

后端 未结 20 3089
野的像风
野的像风 2020-11-22 06:39

For some reason, while using AJAX (with my dashcode developed application) the browser just stops uploading and returns status codes of 0. Why does this happen?

20条回答
  •  萌比男神i
    2020-11-22 07:33

    Another case:

    It could be possible to get a status code of 0 if you have sent an AJAX call and a refresh of the browser was triggered before getting the AJAX response. The AJAX call will be cancelled and you will get this status.

提交回复
热议问题