Re: Atom + Member URIs

Greg Young <[email protected]>
Newsgroups gmane.comp.web.services.rest
Message-ID <CAC9RQthH9X8s5T3jO2pM8sWTC6oHKR_r0fTX0gHzRg04rnZrjg@mail.gmail.com>
So on the post return a redirect to /feed/74

On Monday, January 7, 2013, Mark Baker wrote:

> On Thu, Dec 27, 2012 at 8:27 AM, Greg Young <[email protected]<javascript:;>>
> 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.
>


-- 
Le doute n'est pas une condition agréable, mais la certitude est absurde.
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.