require_once 'HTTP/Client.php';
void HTTP_Client::setMaxRedirects (int $value)
void HTTP_Client::setMaxRedirects
Setting this value to 0 disables redirect processing. If it is not 0 and the number of redirects after a request is bigger than this number, then an error will be raised.
Max number of redirects to process
throws no exceptions thrown
This function can not be called statically.