Project

General

Profile

Bug #84170 ยป 0001-BUGFIX-Inconsistent-lib-for-getUrl-GuzzleHttp.patch

Felix Buenemann, 2018-03-07 20:14

View differences:

typo3/sysext/core/Classes/Utility/GeneralUtility.php
$content .= $response->getBody()->getContents();
}
if (isset($report)) {
$report['lib'] = 'http';
if ($response->getStatusCode() >= 300 && $response->getStatusCode() < 400) {
$report['http_code'] = $response->getStatusCode();
$report['content_type'] = $response->getHeader('Content-Type');
    (1-1/1)