[hunchentoot-devel] PUT parameters missing?

Jonathon McKitrick jmckitrick at reedlarkeygroup.com
Mon Jun 4 15:30:26 UTC 2007


On Jun 4, 2007, at 10:30 AM, Edi Weitz wrote:

> On Mon, 4 Jun 2007 09:48:19 -0400, Jonathon McKitrick  
> <jmckitrick at reedlarkeygroup.com> wrote:
>
>> I'm using REST as well, so maybe I can offer some thoughts on this.
>> POST is used when sending data to a URL endpoint, and often it means
>> an entity is created, like an SQL INSERT.  PUT is used to update
>> some properties of an already existing entity, like an SQL UPDATE.
>> At least that's the most common use.  So with a POST reply I create
>> an entity and return the URL in the 'location' header of the
>> response.  A PUT request applies the parameters to the entity
>> identified by the URL.
>
> Strange.  To me that seems counterintuitive and not really in sync
> with how PUT is described[1] in RFC 2616.  But, anyway, if you REST
> guys think you need this, send a reasonable patch[2] and I'll review
> it.

Since I just jumped from 0.5.0 to 0.11.1, do you remember where in  
that span you made the change to remove post-param support for PUT?   
I'll start diffing from there....


--
Jonathon McKitrick
jmckitrick at reedlarkeygroup.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20070604/c8a1c2b3/attachment.html>


More information about the Tbnl-devel mailing list