Opened 8 years ago

Closed 8 years ago

#26298 closed New feature (duplicate)

Interest in implementing a HttpResponseNoData subclass for HttpResponses?

Reported by: Afnan Fahim Owned by: nobody
Component: HTTP handling Version: 1.9
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


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.

Change History (1)

comment:1 by Alasdair Nicol, 8 years ago

Resolution: duplicate
Status: newclosed

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.

Note: See TracTickets for help on using tickets.
Back to Top