Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7eab4df

Browse files
author
Michael Christopher
committed
Fixed issue with blank responses
1 parent2ddc539 commit7eab4df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Services/Zencoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ private function _getApiPath($opts = array())
175175
privatefunction_processResponse($response)
176176
{
177177
list($status,$headers,$body) =$response;
178-
if ($status ==204) {
178+
if ($status ==204 || (($status ==200 ||$status ==201) &&trim($body) =="")) {
179179
returnTRUE;
180180
}
181181
if (empty($headers['Content-Type'])) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp