Issue Feature Closed

#28344Include HTTP Request2 for better HTTP handling

Philipp Gampe 07/20/11, 14:10 updated 06/01/13, 14:45

Description

t3lib_div::getUrl() is know to be hudge and has a log of problems with edge cases. Especially it only implements a small subset of the HTTP protocol. This is a problem for extension which want to do some more advanced HTTP magic (for example linkvalidator).

A discussion on v4 list suggested to implement pear/HTTP_Request2 and use t3lib_div::getUrl is a wrapper.

This is the first step which includes HTTP_Request2 and adds t3lib_utility_httpRequest as wrapper which sets default options from TYPO3_CONF_VARS.
Additionally some new TYPO3_CONF_VARS have been added and the old curl options have been deprecated.

The next (and not included step) is to refactor t3lib_div::getUrl.

Reviews 1