Loading ...
Sorry, an error occurred while loading the content.

Re: Atom + Member URIs

Expand Messages
  • Greg Young
    So on the post return a redirect to /feed/74 ... -- Le doute n est pas une condition agréable, mais la certitude est absurde. ... No, you can t return 2xx
    Message 1 of 3 , Jan 7, 2013
    • 0 Attachment
      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 <gregoryyoung1@...> 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.
    Your message has been successfully submitted and would be delivered to recipients shortly.