#13222: unexpected HttpResponse iteration behavior
-------------------------------------+-------------------------------------
     Reporter:  teepark              |                    Owner:  aaugustin
         Type:  Bug                  |                   Status:  closed
    Component:  HTTP handling        |                  Version:  1.3-rc1
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
    Has patch:  1                    |  checkin
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Aymeric Augustin <aymeric.augustin@…>):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"82b3e6ffcb9d810cc0e3ec27d25f89ce1fd525e0"]:
 {{{
 #!CommitTicketReference repository=""
 revision="82b3e6ffcb9d810cc0e3ec27d25f89ce1fd525e0"
 Fixed #13222 -- Made HttpResponse iterable once

 response.content can be accessed many times as desired, and always
 returns the same result.

 iter(response) works only once and consumes the iterator.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/13222#comment:30>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to