tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: svn commit: r561186 - in /tomcat/tc6.0.x/trunk: java/org/apache/catalina/servlets/WebdavServlet.java webapps/docs/changelog.xml
Date Tue, 31 Jul 2007 04:18:30 GMT
Remy Maucherat wrote:
> markt@apache.org 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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message