What kind of network error is Chrome encountering when 'Status = (failed)' and 'Type = undefined'

后端 未结 7 1316
情歌与酒
情歌与酒 2020-12-29 21:57

Sometimes I randomly see network requests from Chrome failing with Status = \'(failed)\' (status code 0 from the request object in JavaScript) and the response type as \'und

相关标签:
7条回答
  • 2020-12-29 22:37

    This can occur when the size in Content-Length header is larger then the actual Content being submitted, chrome considers the request "failed" since it could not retrieve the entire document.

    0 讨论(0)
提交回复
热议问题