REST Questions

Larry Masinter LMM@acm.org
Sat, 25 Aug 2001 22:37:11 -0700


# With xmlStorageSystem, you have the getMyDirectory() method that returns
an
# XML document.  Why doesn't that document have an URL that I can do a GET
on?

For the same reason that WebDAV uses PROPFIND instead of GET for similar
operations? That there are too many parameters and options that control
what "that document" actually contains?

There was a nice design principle that was held to in DAV, that the
server controls the URL space, and the client doesn't make up funny URLs.
And that servers shouldn't be forced to assign URLs for things
unnecessarily.

Maybe it would be nice if a server *did* have a URL for the return
value of a SOAP request for it to supply a Content-Location that could
be used by subsequent GET requests?

Larry
--
Only picture of FoRKer in an RFC (RFC 2397 section 4)
       <data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAw
   AAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFz
   ByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSp
   a/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJl
   ZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uis
   F81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PH
   hhx4dbgYKAAA7>