W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > January to March 1997

Re: Distributed Authoring Proposals

From: Roy T. Fielding <fielding@kiwi.ICS.UCI.EDU>
Date: Fri, 28 Mar 1997 14:35:05 -0800
To: Yaron Goland <yarong@microsoft.com>
cc: w3c-dist-auth@w3.org
Message-ID: <9703281435.aa21976@paris.ics.uci.edu>
>Could you please expand on the point of how the semantics are different?
>In writing my proposals I constantly was testing out the use of PUT with
>a body and PUT with a Source header and I never found myself forced to
>change anything based solely on that difference. Of course, that is just
>a limited test case. I would appreciate your insight in the matter.

Changing something is an implementation detail.  As I said, the server-side
implementation may be similar, but the request semantics are not.

PUT with a Source header tells the server to copy the resource indicated
by Source and place it at the PUT request-uri.  The contents of request-uri
will therefore be the contents of what the server sees when it gets the
Source, at the particular time at which it gets the Source, and with the
particular authentication characteristics of the server performing a request.
That is the nature of a COPY operation.

PUT with media type means place the data provided by the client at the
request-uri.  There is no request made by the server, and no opportunity
for misunderstanding based on who is making the request, when it is made,
or how it is made.  That is the nature of a PUT operation.

.....Roy
Received on Friday, 28 March 1997 17:43:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:43:42 GMT