I need to do something when an ajax request is completed, irrespective of it's failure or success. I am using jQuery deferred objects "always" method for this.
My question is inside "always" method how do I determine if it's called because service request failed or succeeded