1
0

Add header API

This commit is contained in:
Garvin Hicking
2016-09-22 15:38:12 +02:00
parent d60a7da9c3
commit 4aaa9845eb

View File

@ -1217,7 +1217,8 @@ function serendipity_request_url($uri, $method = 'GET', $contenttype = null, $da
'reasonPhrase' => $res->getReasonPhrase(),
'isRedirect' => $res->isRedirect(),
'cookies' => $res->getCookies(),
'version' => $res->getVersion(),
'version' => $res->getVersion(),
'header' => $res->getHeader(),
'object' => $res // forward compatibility for possible other checks
);