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. Shouldn’t 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

Reply via email to