joomla/joomla-platform — pull request #1432 by dianaprajescu (2012-08-05 15:15:46+00:00)
Title: Specify additional options for cURL transfers.

I have added a new parameter to the request method through which to specify additional options for the cURL transfer.

Currently the HTTP client will automatically follow redirects. I have removed this because (see RFC [0]):
- it is not always necessary to follow redirects
- following redirects automatically may lead to an infinite loop
- HTTP redirection codes may need to be handled differently

[0] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html - 10.3 Redirection 3xx