/**
  * @return CnameConfig
  */
 protected function parseDataFromResponse()
 {
     $content = $this->rawResponse->body;
     $config = new CnameConfig();
     $config->parseFromXml($content);
     return $config;
 }
 /**
  * 解除指定Bucket的CNAME绑定
  *
  * @param string $bucket bucket名称
  * @param CnameConfig $cnameConfig
  * @param array $options
  * @throws OssException
  * @return null
  */
 public function deleteBucketCname($bucket, $cname, $options = NULL)
 {
     $this->precheckCommon($bucket, NULL, $options, false);
     $options[self::OSS_BUCKET] = $bucket;
     $options[self::OSS_METHOD] = self::OSS_HTTP_POST;
     $options[self::OSS_OBJECT] = '/';
     $options[self::OSS_SUB_RESOURCE] = 'cname';
     $options[self::OSS_CONTENT_TYPE] = 'application/xml';
     $cnameConfig = new CnameConfig();
     $cnameConfig->addCname($cname);
     $options[self::OSS_CONTENT] = $cnameConfig->serializeToXml();
     $options[self::OSS_CNAME_COMP] = 'delete';
     $response = $this->auth($options);
     $result = new PutSetDeleteResult($response);
     return $result->getData();
 }