Handle 201 Created. Part of the fix for ticket #1178.
This commit is contained in:
parent
33c1f8526a
commit
2d23f87e97
@ -180,6 +180,7 @@ class Gallery3_Helper {
|
|||||||
|
|
||||||
switch ($req->getResponseCode()) {
|
switch ($req->getResponseCode()) {
|
||||||
case 200:
|
case 200:
|
||||||
|
case 201:
|
||||||
return json_decode($req->getResponseBody());
|
return json_decode($req->getResponseBody());
|
||||||
|
|
||||||
case 403:
|
case 403:
|
||||||
|
Reference in New Issue
Block a user