Sylvain Wallez wrote:
Fr�d�ric Glorieux wrote:
The Request interface itself does not have getInputStream method, only HttpRequest does. So first step would be to add getInputStream method to the Request and then add it to FOM.
DONE, it seems to work for me. Still problems for a real world WebDAV implementation, but this is for other threads.
I think this would be a good addition. What do others think?
YES, what do they think ?
+1.
But we have to define the behavior of getInputStream for environments where it has no meaning (e.g. background env, sitemap source, cocoonbean etc). IMO, we should throw an exception for these cases.
Agreed. java.lang.UnsupportedOperationException is appropriate I think.
-- Unico
