fuel/fuel/core/classes/request/curl.php
public function http_login($username = '', $password = '', $type = 'any')
	{
		$this->set_option(CURLOPT_HTTPAUTH, constant('CURLAUTH_' . strtoupper($type)));
		$this->set_option(CURLOPT_USERPWD, $username . ':' . $password);

		return $this;
	}
public function http_login($username = '', $password = '', $type = 'any')
	{
		$this->set_option(CURLOPT_HTTPAUTH, constant('CURLAUTH_' . strtoupper($type)));
		$this->set_option(CURLOPT_USERPWD, $username . ':' . $password);

		return $this;
	}
public function http_login ( $ username = '' , $ password = '' , $ type = 'any' ) { $ this -> set_option ( CURLOPT_HTTPAUTH , constant ( 'CURLAUTH_' . strtoupper ( $ type ) ) ) ; $ this -> set_option ( CURLOPT_USERPWD , $ username . ':' . $ password ) ; return $ this ; }
Authenticate to an http server

@param   string  $username
@param   string  $password
@param   string  $type
@return  Request_Curl
Authenticate to an http server