Long time, no post in slide-dev.

>- Using copyMethod() to copy a file to an existing file path with
>  overwrite flag set to true does not change node last modification
>  date.
>
I guess this should be considered in the server side.
Because the client simply reflects the server-response result.

>- Using copyMethod() to copy a collection to an existing collection path
>  with overwrite flag set to false does nothing but returns true.
>
It's same as above.

>- Using moveMethod() to move a collection to an existing file path with
>  overwrite flag set to true returns true but does nothing.
>
Same as above.

>- Using moveMethod() to move a collection to an existing collection path
>  with overwrite flag set to false returns true but does nothing.
>
Same as above.

>- Using mkcolMethod() with the path of an existing file or collection
>  does nothing but returns true.
>
To solve the problem about interoperability with servers,
I made the method returns true, if the collection aleady exists.
As I know most of compatibility are solved, so it would be easy fixing.

>- UnlockMethod() has a very strange behaviour : A test case using
>  lockMethod() and unlockMethod() on the same session works perfect, but
>  using the two methods in different sessions (logout, login between)
>  that not work at all (unlockMethod() returns false and the lock is
>  still there but returned statusCode is 200)
>
Lock in different sessions was not considered.
Because lock methods in client don't manage lock information and
manipulate only WebDAV resources in memory right now.
So if you want to manipulate lock information, you'd better refresh lock.

>- I don't know if it is a planned feature but I could not find an
>  overwrite flag for the putMethod(). Files are always overwritten.
>
I think it's a feature.  So there isn't overwrite flag.
In some advanced Web servers, each of HTTP methods could be access-controlled.

I hope my comments are helpful.

BTW, I have never looked into WebDAV for several months.
Because I'm not doing WebDAV anymore for my work.  :(
So could be some mistakes.  ^^;


Sung-Gu

Reply via email to