Issues

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

Solved in SVN r13890

Sorry, not in 1.7.4. please wait.

I ensure to be released in 1.7.5 .