I just got this answer from Jim by private e-mail
- which is my fault, as I had e-mailed him privately
before:
On Fri, Sep 16, 2005 at 12:53:42PM -0400, Jim Fulton wrote:
> ...
> Was there a reason to use response.write rather than
> returning the pdf as a string?
>
> Jim
> ...
First of all: Yes
On Fri, Sep 16, 2005 at 11:58:41AM -0400, Jim Fulton wrote:
> Stephan Richter wrote:
> >On Friday 16 September 2005 11:39, Andreas Reuleaux wrote:
> >
> >>What else should be used now? - Not sure if this has been discussed
> >>before.
> >
> >
> >Just return the data; it is handled properly now. You
Stephan Richter wrote:
On Friday 16 September 2005 11:39, Andreas Reuleaux wrote:
What else should be used now? - Not sure if this has been discussed
before.
Just return the data; it is handled properly now. You could even create a file
stream now, if there is a lot of data.
Stephan, that
On Friday 16 September 2005 11:39, Andreas Reuleaux wrote:
> What else should be used now? - Not sure if this has been discussed
> before.
Just return the data; it is handled properly now. You could even create a file
stream now, if there is a lot of data.
Regards,
Stephan
--
Stephan Richter
CB
I just found out that the following code (from Philipps book,
chapter 12) doesn't work any more
pdf = ...
response = self.request.response
response.write(pdf.data)
AttributeError: 'BrowserResponse' object has no attribute 'write'
What else should be used now? - Not sure if this has bee