[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GET before PUT on an EditURI



On Tue, 13 Jul 2004 19:50:19 -0700, Tim Bray <tim.bray@xxxxxxx> wrote:
> On Jul 13, 2004, at 7:26 PM, Joe Gregorio wrote:
> 
> >> [page 5/sect 3.2] the description reads like it's forbidden to do a
> >> PUT
> >> without doing a GET first.  Is this true?  If I know the URI and I
> >> know
> >> what I want to put there, can't I just blast it in?
> >
> > You could, but you might not want to.
> >
> > Consider the case of a Wiki.
> 
> ... reasonable use-case elided.
> 
> The use-case granted, here's another: I'm a CMS blasting out deltas to
> a feed, where I know something's been updated and I own the data and
> the feed and I just want to damn well update it and not waste cycles
> doing a GET.
> 
> So all I'm saying is that the language which explains how you'd
> reasonably use PUT and GET, should also make it clear that PUT does
> what PUT does, and there's no compulsory preceding GET.  -Tim

How about stating that the client SHOULD do a GET before 
editing?

    -joe