mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
workaround for error 412 (Precondition Failed) on item delete
This commit is contained in:
parent
6a7c30e34f
commit
0afb6fa392
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue