Modify ↓
Ticket #6465 (closed bug: duplicate)
Ajax, firefox 6.3.6 returns statuscode 0 when server is down, leads to succes callback
| Reported by: | sander | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.2 | |
| Component: | ajax | Version: | 1.4.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
When i send an Ajax request with jQuery in a Firefox 3.6.3 browser, and the server is completely down, it returns status code 0. jQuery currently interprets a status=0 as a success, from the comment in the code for opera(which seem to return 0 instead of 304 sometimes). So i think a browser specific check is needed unfortunately.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Duplicate of #6060