Skip to content

Commit 093bfd5

Browse files
authored
API changed
API changed response code of setting `X-Account-Meta-Temp-URL-Key` from `HTTP/1.1 204 No Content` to `HTTP/1.1 202 Accepted`
1 parent 551b2c5 commit 093bfd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SelectelStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public function setAccountMetaTempURLKey($key) {
312312
->request("POST")
313313
->getHeaders();
314314

315-
if (!in_array($res["HTTP-Code"], array(204)))
315+
if (!in_array($res["HTTP-Code"], array(202)))
316316
return $this->error($res ["HTTP-Code"], __METHOD__);
317317

318318
return $res["HTTP-Code"];

0 commit comments

Comments
 (0)