Issues

ZF-3418: Zend_Feed_Entry_Atom::save() When the entry is newly made, 'Contetns-type: application/atom+xml' is not posted.

Issue Type: Bug Created: 2008-06-09T05:34:06.000+0000 Last Updated: 2011-08-03T15:58:57.000+0000 Status: Resolved Fix version(s): - 1.7.5 (16/Feb/09)

Reporter: Keita Arai (cocoiti) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Feed

Related issues: Attachments:

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.

<pre class="literal"> 
 *** 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 .

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts