[TYPO3-core] Fix bugtracker issue 3172: MIME type determination crashing (HEAD request)
Ingmar Schlecht
ingmar at typo3.org
Wed Apr 12 20:19:11 CEST 2006
Bernhard Kraft wrote:
> Stanislas Rolland wrote:
>
>>> $thePortion = t3lib_div::getURL($pathInfo['host'].$getAdr, 2);
>>>
>>> if we have an API we should use it ...
>>
>> Indeed. However, in this case, we need only the header, we do not need
>> to get the whole file.
>
> that's how I intended it ...
>
> 1 == get header + file
> 2 == get only header.
OK, that API call might be used in HEAD then. For 4.0 Stanislas' patch
is fine, I think.
cheers
Ingmar
More information about the TYPO3-team-core
mailing list