Bug Tracker

Modify

Ticket #14 (closed bug: fixed)

Opened 7 years ago

Last modified 6 years ago

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

comment:1 Changed 7 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in revision [89].

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.