Replies: 3 comments
-
It is expected to throw a |
Beta Was this translation helpful? Give feedback.
-
I researched a little more, what really happens is:
best regards, |
Beta Was this translation helpful? Give feedback.
-
I'm having a similar issue where DELETEs are returning a 207 status code, but no exception is thrown. The problem seems to be in this class: where it's just considering any 2xx response as a success. |
Beta Was this translation helpful? Give feedback.
-
Consider following pseudo - code snippet:
Since the webdav directory "someRemoteDir" is locked, the subsequent sardine.put does not copy data into that directory, which is correct behaviour. However, sardine does not throw any Exception neither does it return success/failure since it is a void method. As consequence, the programmer has no chance to somehow realize that the sardine.put(...) did not yield the expected result. and the file was not copied. May be an exception would be a good idea?
Beta Was this translation helpful? Give feedback.
All reactions