Why is AJAX returning HTTP status code 0?

后端 未结 20 2810
野的像风
野的像风 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条回答
  •  忘了有多久
    2020-11-22 07:33

    I think I know what may cause this error.

    In google chrome there is an in-built feature to prevent ddos attacks for google chrome extensions.

    When ajax requests continuously return 500+ status errors, it starts to throttle the requests.

    Hence it is possible to receive status 0 on following requests.

提交回复
热议问题