mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
workaround for services.m.c 500 error on some GET requests
This commit is contained in:
parent
cdbd7976e2
commit
732f6b234c
@ -341,6 +341,13 @@ WeaveSyncService.prototype = {
|
|||||||
throw "Created user directory, but login still failed. Aborting.";
|
throw "Created user directory, but login still failed. Aborting.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME: remove this after services.m.c gets fixed to not
|
||||||
|
// return 500 from a GET when parent dirs don't exist
|
||||||
|
this._dav.MKCOL("private/", self.cb);
|
||||||
|
ret = yield;
|
||||||
|
if (!ret)
|
||||||
|
throw "Could not create private key directory";
|
||||||
|
|
||||||
this._dav.GET("private/privkey", self.cb);
|
this._dav.GET("private/privkey", self.cb);
|
||||||
let keyResp = yield;
|
let keyResp = yield;
|
||||||
Utils.ensureStatus(keyResp.status,
|
Utils.ensureStatus(keyResp.status,
|
||||||
|
Loading…
Reference in New Issue
Block a user