Support ajax callbacks for specific status codes
|Reported by:||nbubna||Owned by:|
It would be nice to be able to specify callbacks to handle specific status codes. Supporting this would make extending $.ajax behavior more difficult (for things like http://plugins.jquery.com/project/rest). So, along with this, it would be nice to support a 'ready' callback that would be called once the XHR is done and before any other callbacks are executed.
I've attached a patch to support both.
Change History (5)
comment:2 Changed 6 years ago by dmethvin
- Blocked by 7195 added
- Milestone changed from 1.4 to 1.5
- Status changed from new to open
comment:4 Changed 5 years ago by jaubourg
- Resolution set to fixed
- Status changed from open to closed