public function list_bucket($opt = array()) { $this->assertParameterArray($opt); $opt[self::BUCKET] = ''; $opt[self::METHOD] = 'GET'; $opt[self::OBJECT] = '/'; $response = $this->authenticate($opt); $this->log($response->isOK() ? "List bucket success!" : "List bucket failed! Response: [" . $response->body . "]", $opt); return $response; }