0
항목을 삭제하려고하면 오류가 반환됩니까?Zend/Google 앱 - 항목 삭제 - 일치하는 경우 og etag 속성이 필요함
항목을 삭제하기 위해 삭제 방법을 호출하기로되어 있지 않습니까?
$this->client = Zend_Gdata_ClientLogin::getHttpClient($this->admin_user, $this->admin_pass, 'cp');
$this->client->setHeaders('If-Match: *');
$this->gdata = new Zend_Gdata($this->client);
$this->gdata->setMajorProtocolVersion(3);
$feed = $gdata->getFeed($query);
foreach($feed as $entry){
$entry->delete();
}
오류 :
ERROR: Expected response code 200, got 403
If-Match or If-None-Match header or entry etag attribute required
코어 파일 그러나 그것은 작동합니다! – Nitesh