* Jean-Baptiste Quenot:
> * Johan Compagner:
> > 
> > Which one should be dropped? The ResourceStreaMRequestTarget?
> > That will break all kinds of things. Then just adapt it the way you want.
> 
> Don't take "drop" literally, I mean make
> WebExternalResourceRequestTarget reuse the
> WebExternalResourceStream.

Done.  WebExternalResourceRequestTarget now directly uses
ResourceStreamRequestTarget#ResourceStreamRequestTarget(WebExternalResourceStream)

> I could change the implementation
> indeed to implement buffering.  But in the end, we'll end up with
> many classes implementing buffering just for satisfying length().

I changed ResourceStreamRequestTarget to allow
IResourceStream.length() to return -1, in this case no
Content-Length is generated.
-- 
     Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

Reply via email to