On 5/21/07, Curtis <[EMAIL PROTECTED]> wrote:
> An alternate solution:
>
>     response = HttpResponse(pdf, "application/pdf")
>     response['Content-Disposition'] = 'attachment; filename=%s.pdf' %
> filename
>     return response

I use a similar approach to output PDF's on our intranet applications
and I've got no complaints from users (which use IE although they know
they **must not** use it).

So I can assume that the Content-Disposition does the trick for me too.

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

Reply via email to