Opened 9 years ago
Closed 9 years ago
#26298 closed New feature (duplicate)
Interest in implementing a HttpResponseNoData subclass for HttpResponses?
Description ¶
Its a common use case to respond to requests with a 204, was wondering if it would be nice to have a dedicated subclass for it.
https://docs.djangoproject.com/en/1.9/ref/request-response/#httpresponse-subclasses
Note:
See TracTickets
for help on using tickets.
This is a duplicate, e.g. of #3362, which was closed as won't fix. You can either pass the 204 status code to HttpResponse, or subclass it in your own project if you prefer.