return FALSE; $r = well_tag_thread__update(array('id' => $id), $update); return $r; } function well_tag_thread_find($tagid, $page, $pagesize) { $arr = well_tag_thread__find(array('tagid' => $tagid), array('id' => -1), $page, $pagesize); return $arr; } function well_tag_thread_find_by_tid($tid, $page, $pagesize) { $arr = well_tag_thread__find(array('tid' => $tid), array(), $page, $pagesize); return $arr; } ?>javascript - Internet Explorer Internet Failure HTTP Status Codes - Stack Overflow
最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Internet Explorer Internet Failure HTTP Status Codes - Stack Overflow

programmeradmin3浏览0评论

I usually translate request.status == 0 as being a connection failure.

However, I have found that Internet Explorer sometimes uses HTTP 12007.

What would you remend be the rules I use when deciding whether to tell the user "Internet Failure" vs just telling them "HTTP Status Code x"?

Is 12007 the only code for this sort of thing? (besides zero)

I usually translate request.status == 0 as being a connection failure.

However, I have found that Internet Explorer sometimes uses HTTP 12007.

What would you remend be the rules I use when deciding whether to tell the user "Internet Failure" vs just telling them "HTTP Status Code x"?

Is 12007 the only code for this sort of thing? (besides zero)

Share Improve this question asked Jan 3, 2012 at 19:34 700 Software700 Software 88k88 gold badges242 silver badges347 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 7

status values above 12000 e from Windows and tell you, that the HTTP request itself failed (ie. there never was a request).

You can find a list of these error messages here.

发布评论

评论列表(0)

  1. 暂无评论