[Seaside-dev] WAResponse >> #contents
Lukas Renggli
renggli at gmail.com
Wed Feb 20 17:29:21 UTC 2008
> This method does a reset before returning the stream. I suppose it is
> because you want to use #next on the stream or something similar? But
> I'm not sure that's the cause, because the stream is a WriteStream, not
> a ReadStream...
I agree, that's odd. I don't see a reason to do that in there.
When sending #contents I would expect to get a string anyway, not a stream.
I hope this will be fixed as part of the upcoming context-refactoring ;-)
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside-dev
mailing list