Fair enough. Is this clear from the APP spec or is this left to the implementation to choose if the entry is returned on a PUT?
Rémy [EMAIL PROTECTED] 418 809-8585 http://arrova.ca -----Original Message----- From: James M Snell [mailto:[EMAIL PROTECTED] Sent: May 12, 2008 11:24 To: [email protected] Subject: Re: POST vs PUT w/r to the response sent It's acceptable to return the entry in response to a PUT, it's just not as critical as on the initial POST. The assumption is that the user already has the entry edit URI and the atom:id value so it can easily do a GET if it wants the entry. - James Remy Gendron wrote: > Hello all, > > > > On a POST, the entry is sent back in the response to return the a:id and > an a:link(edit) and other information generated during the POST. > > > > How come this is not the same for a PUT action? Business rules may > change the content associated to an entry after a PUT. Shouldnt the > entry be sent back also? Or is this contrary to the HTTP PUT semantics? > > > > Rémy > > > > > > Courriel: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > Cellulaire: 418 809-8585 > > Site Web: http://arrova.ca <http://arrova.ca/> > > Liste: > http://mail.arrova.ca/mailman/listinfo/dev-list_arrova.ca > > > -- No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.16/1428 - Release Date: 12/05/2008 7:44 AM
