Project

General

Profile

Bug #58145 » ExternalLinktype.diff

Stefan Weißwange, 2014-04-24 09:54

View differences:

typo3-6.1.8-STAGE/typo3/sysext/linkvalidator/Classes/Linktype/ExternalLinktype.php 2014-04-24 09:46:51.634019397 +0200
/** @var $response \HTTP_Request2_Response */
$response = $request->send();
// HEAD was not allowed, now trying GET
if (isset($response) && $response->getStatus() === 405) {
if (isset($response) && $response->getStatus() >= 400) {
$request->setMethod('GET');
$request->setHeader('Range', 'bytes = 0 - 4048');
/** @var $response \HTTP_Request2_Response */
    (1-1/1)