From 910622490d47198588e31a6d12a436147e52f9ad Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Sun, 27 Aug 2017 22:31:24 +0200 Subject: [PATCH] --- phork0.diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2