Issue Bug Closed

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

Nicole Hummel 03/10/17, 01:03 updated 10/02/18, 11:02

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.

Reviews 1