Re: Atom + Member URIs
Mark Baker <[email protected]>
| Newsgroups | gmane.comp.web.services.rest |
|---|---|
| Message-ID | <CALcoZiqKRL-o5jiRdYkKeBQ_15UhoGeBRt=N7X3_yRFQR0+kfg@mail.gmail.com> |
On Thu, Dec 27, 2012 at 8:27 AM, Greg Young <[email protected]> wrote: > > > > We have been having an interesting discussion here regarding the AtomPub protocol. > > Is it ok to change the MemberUri on a put? EG: Return a Location header and then point to a new MemberUri? > > Example: > You have > /feed/0 > > you put new data > > it returns > Location: /feed/74 No, you can't return 2xx because you didn't update the state of the resource targeted by the client. You might consider using a redirect. Mark.