workaround for error 412 (Precondition Failed) on item delete

This commit is contained in:
skilion 2016-12-28 23:47:29 +01:00
parent 6a7c30e34f
commit 0afb6fa392

View file

@ -159,7 +159,8 @@ final class OneDriveApi
{
checkAccessTokenExpired();
char[] url = itemByIdUrl ~ id;
if (eTag) http.addRequestHeader("If-Match", eTag);
//TODO: investigate why this always fail with 412 (Precondition Failed)
//if (eTag) http.addRequestHeader("If-Match", eTag);
del(url);
}