ZF-3418: Zend_Feed_Entry_Atom::save() When the entry is newly made, 'Contetns-type: application/atom+xml' is not posted.
Description
Zend_Feed_Entry_Atom::save() When the entry is newly made, 'Contetns-type: application/atom+xml' is not posted.
It is corrected as follows.
*** Atom.php 2008-02-16 19:58:39.000000000 +0900
--- ../../../../../ZendFramework-1.5.2.new/library/Zend/Feed/Entry/Atom.php 2008-06-09 21:14:57.000000000 +0900
***************
*** 173,178 ****
--- 173,179 ----
$client = Zend_Feed::getHttpClient();
$client->setUri($postUri);
$client->setRawData($this->saveXML());
+ $client->setHeaders('Content-Type', 'application/atom+xml');
$response = $client->request('POST');
if ($response->getStatus() !== 201) {
best regards
Comments
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2009-01-31T02:11:22.000+0000
Solved in SVN r13890
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2009-02-02T17:53:25.000+0000
Sorry, not in 1.7.4. please wait.
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2009-02-16T20:06:53.000+0000
I ensure to be released in 1.7.5 .