Changes between Initial Version and Version 1 of Ticket #18796, comment 1


Ignore:
Timestamp:
10/20/2012 05:38:35 AM (3 years ago)
Author:
aaugustin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18796, comment 1

    initial v1  
    1 When `HttpResponse` is instantiated with an iterator, the contents of the iterator should be consumed and saved as soon as `request.content` is accessed.
     1When `HttpResponse` is instantiated with an iterator, the contents of the iterator should be consumed and saved as soon as `response.content` is accessed (or other methods requiring knowledge of the response's content).
    22
    3 It remains to be seen if we want to keep the current (undocumented) streaming behavior of `HttpResponse`.
     3We probably want to keep the current (undocumented) streaming behavior of `HttpResponse` and not unconditionally consume the iterator in `__init__`.
    44
    55This was initially part of #7581 — but I'm reducing the scope of that ticket to something manageable.
Back to Top