[TYPO3-core] RFC: Various improvements to t3lib_div::getURL

Michael Stucki michael at typo3.org
Sat Feb 18 12:47:39 CET 2006


Hi Martin,

>> Merge the getHeader functionality into t3lib_div::getURL().
> 
> Isn't the Host:-header only part of HTTP/1.1?

To be honest, I have no idea. Are you talking of this line:

$msg = 'GET '.$parsedURL['path'].($parsedURL['query'] ? '?'.$parsedURL['query'] : '')." HTTP/1.0\r\nHost: ".$parsedURL['host']."\r\n\r\n";

In this case there is no need to change it because I simply
moved this part from the indexer class (as you can notice a
few lines down...)

Regards, michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-team-core mailing list