If I have
$http.get(url)
.success(function(data, status, headers, config) {})
.error(function(data, status, headers, config) {});
what value would status
have if ther were a timeout (no internet connection). Would it just be 404?
答案 0 :(得分:0)
Sicne @HamletHakobyan不会发布回答,我会指出他的评论是正确的 - 状态是-1