Project

General

Profile

Actions

Bug #80220

closed

http_code not returned for HEAD requests in \TYPO3\CMS\Core\Utility\GeneralUtility::getUrl

Added by Nicole Cordes over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
Start date:
2017-03-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If you switch to a HEAD request in \TYPO3\CMS\Core\Utility\GeneralUtility::getUrl and provide a report array to get more information, the header status will not be return. This happens because the content from that request (obviously) is emtpy and considerer as an error.

Actions

Also available in: Atom PDF