RE: [xml-dev] RESTful XML for updates?

From
Scott, Christopher <>
To
"Scott, Christopher" <>, Anne Thomas Manes <>,
Date
2009-03-09T15:17:21Z
ID
<[email protected]_domain.lcl>
Thread
RE: [xml-dev] RESTful XML for updates?
> 1. Take, for instance, the State element and the Whatsists.  How would
the client know if you could POST to the "State", but not PUT, and only
GET and PUT "Whatsists"?

A quick reply to myself: after some googling I found a possible
solution: expose the http OPTIONS method at each resource.  It's
out-of-band in regard to the actual representation of the resource, but
it seems that this may be the way to go.

For example an OPTIONS ./State would return 

GET 
POST 
OPTIONS

~Chris