request['auth']['user'], $http->request['auth']['pass'])) { $http->request['header']['Authorization'] = 'Basic ' . base64_encode($http->request['auth']['user'] . ':' . $http->request['auth']['pass']); } } }