users@jersey.java.net

Re: Re: Re[Jersey] ading entity body

From: Gili <cowwoc_at_bbs.darktech.org>
Date: Thu, 23 Oct 2008 08:24:00 -0700 (PDT)

Paul Sandoz wrote:
>
>> Actually I was going to use PUT for both partial and full updates.
>>
>
> That would be against the semantics of PUT.
>

According to who or what? "RESTful Web Services" page 300 reads "If the
resource already exists, parse the representation and turn it into a series
of changes to the state of this resource. If the changes would leave the
resource in an incomplete or inconsistent state, send a response code of 400
(“Bad Request”)."

I interpret this as meaning that PUT can be used for partial updates.

Gili
-- 
View this message in context: http://n2.nabble.com/Reading-entity-body-tp1366219p1368574.html
Sent from the Jersey mailing list archive at Nabble.com.