OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Re: Why REST

[ Lists Home | Date Index | Thread Index ]

Sean McGrath scripsit:

> Its more than just time - all attributes of the observer (headers + body of 
> GET/POST for
> example) - effect the resource retrieved. The act of observing in effect 
> de-quantizining
> the URL. We cannot know the state of a resource without observing it and 
> the act
> of observing it can change the resource.

By no means.  GETs are allowed to be idempotent, which means that
the act of GETting cannot change the resource.  The entity body
may change for independent reasons: if I have a resource that
purports to return local time in Kathmandu, then every GET may
return a distinct entity body (defined as a sequence of bytes
plus a media type plus other metadata), but the *resource*
is the same, viz. the local time in K.

John Cowan           http://www.ccil.org/~cowan              cowan@ccil.org
To say that Bilbo's breath was taken away is no description at all.  There
are no words left to express his staggerment, since Men changed the language
that they learned of elves in the days when all the world was wonderful.
        --_The Hobbit_


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS