[TYPO3-v4] getUrl issues - linkvalidator

Dmitry Dulepov dmitry.dulepov at gmail.com
Wed Mar 16 09:57:55 CET 2011


Hi!

Philipp Gampe wrote:
> A possible solution would be to extend the second parameter to get headers
> using GET. This would be a one liner actually, but has another drawback:
> If you use curl, there is no way to only retrieve headers without the body

Try simulating chunked transfers with 1 byte length. You'll get a full 
length info from HTTP headers.

-- 
Dmitry Dulepov
TYPO3 core&security team member
E-mail: dmitry.dulepov at typo3.org
Web: http://dmitry-dulepov.com/


More information about the TYPO3-project-v4 mailing list