#23977: Add setdefault() to HttpResponse
-------------------------------------+-------------------------------------
     Reporter:  Robert Coup          |                    Owner:  Sergey
         Type:  New feature          |                   Status:  new
    Component:  HTTP handling        |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Дилян Палаузов):

 * status:  closed => new
 * cc: Дилян Палаузов (added)
 * resolution:  fixed =>


Comment:

 HttpResponseBase.setdefault should return a value in order to be
 consistent with dict.setdefault and what users expect from a function
 called setdefault on an objects, that behaves like dict.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/23977#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.47cd9e1e765bf4fff84bba790ef261bd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to