On 12/23/05, Jim Fulton <[EMAIL PROTECTED]> wrote:
> I've been working on trying to clean up the IResult/response.write mess.
> I want to retract IResult from the public API.
> Here's what I propose to do:
> - Move IResult from zope.publisher.interfaces.http to
> zope.publisher.http, thus making it a private interface.
> - I'm arranging that a published method can simply return a file,
> rather than a string. This will be how you can efficiently
> return large results.
By file, do you mean a Python ``file`` object? Will StringIO suffice?
Or will a very simple interface like IReadFile
(zope.app.filerepresentation) be enough?
Zope3-dev mailing list