You are absolutely right. I have tested this approach and for my
purposes it is working great. Thanks for the insight.
On Aug 23, 9:50 pm, Ned Batchelder <[EMAIL PROTECTED]> wrote:
> You can probably skip the StringIO. HttpResponses support a file-like
> interface, so you can write directly to
You can probably skip the StringIO. HttpResponses support a file-like
interface, so you can write directly to them. Try passing the
HttpResponse directly to the SimpleDocTemplate constructor instead.
--Ned.
http://nedbatchelder.com/blog
abrightwell wrote:
> Nevermind, the main problem I seeme
Nevermind, the main problem I seemed to be having was "associating"
the pdf with the HttpResponse. Instead of writing the PDF to a file,
I found through some more research that all you need to is use a
StringIO buffer and then write the value of the buffer to the
HttpResponse. I found this infor
3 matches
Mail list logo