Fix Backoff and Retry-After header parsing
This commit is contained in:
parent
79d7c15d4f
commit
5ddbe433b9
2 changed files with 4 additions and 4 deletions
|
@ -174,7 +174,7 @@ describe("Zotero.Sync.APIClient", function () {
|
|||
req.respond(
|
||||
503,
|
||||
{
|
||||
"Retry-After": 5
|
||||
"Retry-After": "5"
|
||||
},
|
||||
""
|
||||
);
|
||||
|
@ -183,7 +183,7 @@ describe("Zotero.Sync.APIClient", function () {
|
|||
req.respond(
|
||||
503,
|
||||
{
|
||||
"Retry-After": 10
|
||||
"Retry-After": "10"
|
||||
},
|
||||
""
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue