git.cweiske.de
/
paste
/
481.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4dcc8a
)
(no commit message)
master
author
Christian Weiske
<cweiske@cweiske.de>
Sun, 27 Aug 2017 20:31:24 +0000
(22:31 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Sun, 27 Aug 2017 20:31:24 +0000
(22:31 +0200)
phork0.diff
patch
|
blob
|
history
diff --git
a/phork0.diff
b/phork0.diff
index 6011bfd16826c073537c225dbb3c194f30d1e1d1..f830dfa795969646842ccb2ce6b3725bbaf58779 100644
(file)
--- a/
phork0.diff
+++ b/
phork0.diff
@@
-7,7
+7,7
@@
index eb66692..ad8bd05 100644
$res = $req->send();
\r
\r
- if ($res->getHeader('content-type') != 'application/json') {
\r
-+ list($type, ) = explode('
:
', $res->getHeader('content-type'));
\r
++ list($type, ) = explode('
;
', $res->getHeader('content-type'));
\r
+ if ($type != 'application/json') {
\r
Log::err('response data are not of type application/json');
\r
exit(2);
\r