From: Christian Weiske Date: Sun, 27 Aug 2017 20:31:24 +0000 (+0200) Subject: (no commit message) X-Git-Url: https://git.cweiske.de/paste/481.git/commitdiff_plain --- diff --git a/phork0.diff b/phork0.diff index 6011bfd..f830dfa 100644 --- a/phork0.diff +++ b/phork0.diff @@ -7,7 +7,7 @@ index eb66692..ad8bd05 100644 $res = $req->send(); - if ($res->getHeader('content-type') != 'application/json') { -+ list($type, ) = explode(':', $res->getHeader('content-type')); ++ list($type, ) = explode(';', $res->getHeader('content-type')); + if ($type != 'application/json') { Log::err('response data are not of type application/json'); exit(2);