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

后端 未结 7 1320
情歌与酒
情歌与酒 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:29

    I ran into this in an ASP.NET IHttpHandler because I was calling context.Response.Close() instead of context.Response.End(). Wasn't quite closing the HTTP connection properly. It didn't cause a problem in any browsers but Chrome.

提交回复
热议问题