W3C home > Mailing lists > Public > www-ws-desc@w3.org > July 2004

Re: Issue 169: Propose http method in the operation interface to simplify http binding.

From: Mark Baker <distobj@acm.org>
Date: Mon, 12 Jul 2004 21:07:50 -0400
To: David Orchard <dorchard@bea.com>
Cc: www-ws-desc@w3.org
Message-ID: <20040713010750.GM28869@markbaker.ca>

On Mon, Jul 12, 2004 at 02:01:35PM -0700, David Orchard wrote:
> We could come up with our own "CRUD" definitions and then say that C=POST, R=GET, U=PUT, D=DELETE when bound to HTTP.

Any constrained interface you come up with will either be less general
than the REST interface (by definition), or equivalent to it.  CRUD is
less general.  For example, that mapping above fails to expose POST
functionality which permits for things like data processing, annotation,
insertion, etc..

> I don't know what "GET on mailto:foo@bar.com" means because I don't have a binding.

You don't need a binding, you can look up its meaning in the HTTP
specification.  It means, retrieve a representation of the resource
identified by that URI.

>  It could mean "get the mail for foo@bar.com".

Well, technically, it only means what I said above.  But it could
certainly be *used* to return the mail for foo@bar.com.  Good call.

>  I also don't know whether that's safe or not.  

Why not?  GET can be assumed safe by a Web client.

Received on Monday, 12 July 2004 21:27:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:06:43 UTC