Modify ↓
Ticket #14 (closed bug: fixed)
XHR Error Checking is Weak
| Reported by: | malsup@… | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0 |
| Component: | ajax | Version: | |
| Keywords: | ajax bug error | Cc: | |
| Blocking: | Blocked by: |
Description
I think you'll need a bit more logic around your xhr status checking so that things like a 304 don't trigger the onError method. dojo's doLoad() method is pretty full-featured in this regard.
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.

Fixed in revision [89].