Wouldn't that depend on the processing model associated with
the media type supplied with the representation?

As an example, if the following representation is PUT to
a server with the media-type "text/xml"

  <a    b="c"  d="e"/>

this could be stored (and returned via GET) as

  <a b="c" d="e"/>

since "text/xml" implies that whitespace between attributes
is insignificant.

Could not the processing model of Atom be clearly specified to
allow such things as atom:id overrides, in the full
spirit of TAG Finding 12, "Authoritative Metadata",
section 3.1 "Role of Internet Media Types"?

http://www.w3.org/2001/tag/doc/mime-respect-20060412




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Baker
Sent: Wednesday, June 14, 2006 1:29 AM
To: Joe Gregorio
Cc: James M Snell; atom-protocol WG
Subject: Re: Meaning of PUT


On 6/14/06, Joe Gregorio <[EMAIL PROTECTED]> wrote:
> On 6/14/06, Mark Baker <[EMAIL PROTECTED]> wrote:
> > Of course there is, because that's what PUT mean.  It doesn't mean
"do
> > whatever you want" (that's POST), nor does it mean "store only the
> > stuff you understand".  It means store.  I'm not sure how to explain
> > it any more simply than that.
>
> So if the client supplies an atom:id for the entry the server
> isn't allowed to override it?

Not on a PUT, no.

Mark.


Reply via email to