[Zope-dev] Are input streams seekable in Zope?

Ames Andreas (MPA/DF) Andreas.Ames at tenovis.com
Fri Jul 30 09:44:20 EDT 2004


Hi,

I've stumbled over some code in Zope 2.7.0 that seems to suggest that
input streams are meant to be seekable.  In an extension I wrote for
ZServer, i.e. AJPServer, I throw an exception when this is tried and
I'm quite sure the call to seek wasn't there in 2.6.x.  I found the
call to seek in ZPublisher.HTTPRequest.py, line 128, in method
"retry".

Does this mean that only seekable streams are allowed in ZPublisher
(i.e. not stdin) or is this a bug?


TIA,

andreas


More information about the Zope-Dev mailing list