django-dajaxice icon indicating copy to clipboard operation
django-dajaxice copied to clipboard

Allow HttpResponse objects to be returned from ajax functions

Open SoftwareMaven opened this issue 12 years ago • 0 comments

Allowing HttpResponse objects allows ajax functions (or decorators) to implement better error handling (such as a 401 for Unauthorized), which follows the HTTP specification more closely. Make sure that the proper response codes are being returned for error conditions.

SoftwareMaven avatar Feb 03 '13 04:02 SoftwareMaven