Hey Jim,
On Thu, Jul 2, 2009 at 1:12 AM, Jim Edwards-Hewitt<jimeh@...> wrote:
> I have resources that support GET and PUT, but contain some parts that
> clients are not allowed to modify. (This doesn't seem like an uncommon case;
> I would think that navigation links, for example, would typically not be
> modifiable in a PUT.)
IMO, you seem to be confusing between the state of the resource and
its representation. GET and PUT allow you to retrieve and set the
state of the resource. The data format used for transferring that
state is the media type. "Navigation links" are specific to the media
type and not the state of the resource. I could PUT
application/atom+xml or application/x-www-form-urlencoded and GET
text/html.
--
Sandeep Shetty
http://sandeep.shetty.in/