I've written a patch, and I could open a bug with post-1.0 milestone, if that's OK? It's probably a good idea to have a general bug for initialising HttpResponse objects with iterators.
On Aug 25, 9:33 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Mon, 2008-08-25 at 12:26 -0700, zvoase wrote: > > Devels, > > I've noticed in the docs that HttpResponse objects, if initialised > > with an iterator, cannot be used as file-like objects. This could be > > fixed quite easily. > > There are lots of problems -- some subtle and some obvious -- when > initialising HttpResponse objects with iterators. There isn't a single > set of simple fixes for all of them, which is why the problems are > there. In short, that behaviour isn't really well supported (and that > will remain unchanged in 1.0). We might need to update the docs to > reflect that fact, but changes to that area of code are out of scope for > 1.0, certainly. > > Regards, > Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---