Remy Maucherat wrote: > [EMAIL PROTECTED] wrote: >> Author: markt >> Date: Mon Jul 30 16:37:47 2007 >> New Revision: 561186 >> >> URL: http://svn.apache.org/viewvc?view=rev&rev=561186 >> Log: >> Fix WebDAV for MS clients. >> Fix error message when there is no request content >> Ported from TC5 >> > >> + if (req.getInputStream().available() > 0) { > > I don't think it's going to work, it would depend on how the client is > sending its data (with most clients, it would most likely be ok).
It worked with the tests I ran and the same technique is used elsewhere in the WebDAV servlet. Worst case is it uses the defaults which shouldn't be a disaster. We could add some debug logging so the user knows it happened. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]