Streaming/iterable HttpResponse instances are kind of an issue which
needs sorting out. I've had problems in the past with the current
implementation. Maybe a closer look is actually necessary.
Regards,
Zack
On Oct 1, 3:41 am, David Cramer <[EMAIL PROTECTED]> wrote:
> Thanks Graham, I'll check t
Thanks Graham, I'll check that out.
I was going to file a ticket for this, but it seems streaming isn't
really "supported" anyways, so I had to change the approach.
On Sep 30, 8:19 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On Oct 1, 11:06 am, David Cramer <[EMAIL PROTECTED]> wrote:
>
> >
On Oct 1, 11:06 am, David Cramer <[EMAIL PROTECTED]> wrote:
> I'm running into an issue when trying to pass a file-like object to
> HttpResponse and telling it to label it as "application/xml"
>
> def sitemap(request, sitemaps, section):
> page = request.GET.get('p', 1)
> fpath = os.path
I'm running into an issue when trying to pass a file-like object to
HttpResponse and telling it to label it as "application/xml"
def sitemap(request, sitemaps, section):
page = request.GET.get('p', 1)
fpath = os.path.join(settings.BASE_PATH + '/', 'cache/sitemap-%s-
%s.xml' % (section, pa