[Zope3-dev] Re: [Zope3-checkins] SVN:
Zope3/branches/srichter-twisted-integration/
Florent Guillaume
fg at nuxeo.com
Thu Apr 14 13:00:30 EDT 2005
Stephan Richter <srichter at cosmos.phy.tufts.edu> wrote:
> Log message for revision 29982:
> - Fixed issue 390. Deprecated ``IBaseRequest.body`` and
> ``IBaseRequest.bodyFile``. The latter was simply renamed to
> ``IBaseRequest.bodyStream``. No code assumes anymore that the input
> streams are seekable.
[...]
> +class HTTPInputStream(object):
> + """Special stream that supports caching the read data.
> +
> + This is important, so that we can retry requests.
> + """
> +
> + def __init__(self, stream):
> + self.stream = stream
> + self.cacheStream = cStringIO.StringIO()
Won't a memory cache be a problem for multi-megabytes POSTs ?
Florent
--
Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D
+33 1 40 33 71 59 http://nuxeo.com fg at nuxeo.com
More information about the Zope3-dev
mailing list