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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.