Stephan Richter  <[EMAIL PROTECTED]> 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   [EMAIL PROTECTED]
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to