Hello LZ,

 Actually the 207 (multistatus) message is a container for other status
messages. This means that while your request may partially fail, it can also
partially succeed. The multistatus shall return an aggregation of status
messages to the corresponding failure or success.

 In your case, if you want to check if any error occurred, you should parse
the complete status message in search for the 'fail message status'.

 Hope this helps,
 Miguel Figueiredo

_____

Hi,

can somebody please, clarify the following issue with
the WebdavResource.deleteMethod(String) in the client
library?
 
If i want to delete a collection wich is not empty,
according to the rfc2518 section 8.6.2 "If an error
occurs with a resource other than the resource
identified in the Request-URI then the
response MUST be a 207 (Multi-Status).", and indeed
this is happening, but the problem is that the client
doesn't get notified about the failure of the delete
operation because in the deleteMethod(String) the
"return (statusCode >= 200 && statusCode < 300) ? true
: false;" is used and the 207 statusCode also will
return true.

Is this a bug, or it is my missunderstanding? 
Thank you.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to