You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Mario Ivankovits <ma...@ops.co.at> on 2005/06/20 21:23:02 UTC
[VFS] Webdav change
Hi!
Due to what Torsten found to make VFS IIS compatible I changed some checks.
These checks are to determine if a file exists and is writeable.
It still works with apache's dav and now also with IIS.
If one of you uses webdav agains a different server please check if it
still works for you.
Thanks!
---
Mario
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: [VFS] Webdav change
Posted by Torsten Curdt <tc...@apache.org>.
> Due to what Torsten found to make VFS IIS compatible I changed some checks.
> These checks are to determine if a file exists and is writeable.
> It still works with apache's dav and now also with IIS.
Thanks for applying it, mate.
But I reckon it's better to
use the DELETE verb for the
writeable check.
protected boolean doIsWriteable() throws Exception
{
// Again to be IIS compatible
// return hasAllowedMethods("POST");
return hasAllowedMethods("DELETE");
}
We also have byte range support
for webdav now. Would be good
if you could look over the
implementation and if it's
ok apply it as well :)
http://issues.apache.org/bugzilla/show_bug.cgi?id=35470
cheers
--
Torsten