webdav specifications say that when a PROPPATCH is issued on multiple properties the operation must completely fail if only one of the properties cannot be set (protected property or other error).
The server returns a 207 Multistatus, followed by status for every single property, which changes between 200 OK, 409 Conflict and and others.
The current PROPPATCH method (both in 2.1M1, HEAD and maybe in 2.0) onyl checks for the method status code when setting multiple properties, so if one or more returned an error, the method just returns true, while not one of the properties have been set since also the "good" ones have been rolled back.
In my opinion this is a big limitation, since it seems impossible from the application to know if the method was successful or not. The method should check all the return codes for every single property, and return false putting the correct error string when one or more properties returned error.
Is there a way to access the latest method response to parse it from the application or do you think this is a bug?
Ciao, Simone Gianni
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
