SmileyChris wrote:
> I don't want to go reopening the ticket, but couldn't this still be
> useful functionality?
>   
The regular HttpResponse already can serve files in some fashion:

    f = open(filename)
    return HttpResponse(f, mimetype='application/octet-stream')

Here the file-like object will work as an iterator sending one line  at 
a time.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to