On Thu, Feb 19, 2009 at 3:42 PM, Noah Slater <nsla...@apache.org> wrote:
> On Thu, Feb 19, 2009 at 03:27:26PM -0800, Chris Anderson wrote:
>> On Thu, Feb 19, 2009 at 3:19 PM, Chris Anderson <jch...@apache.org> wrote:
>> > ... it doesn't quite fit in the resource identifier
>> > either.
>>
>> When you:
>>
>> PUT /db/docid?rev=R
>>
>> vs
>>
>> PUT /db/docid?rev=R&full_commit=true
>>
>> They are the same resource (so these URLs are misleading). But I kinda
>> think full-commit should go in the URI anyway, just so that weak
>> clients can use it.
>
> But are they the same resource? Is it not up to the server to decide what
> resource to create, and how to create it, depending on the URI the client uses
> to PUT the representation?
>
> I suspect that using query strings with PUT methods like this is RESTful.

I'm basically ready to agree with you.



-- 
Chris Anderson
http://jchris.mfdz.com

Reply via email to