I would like to be able to have a URL like

http://my.server.com/database/person/123123.xml

return an XML based representation and

http://my.server.com/database/person/123123.json

return a JSON based representation and

http://my.server.com/database/person/123123.csv

return a CSV based representation, etc.

I know other frameworks in other languages support this mapping, and before
I go and write something myself I wanted to see if I missed how to do this
in the documentation?

I can't set the Accept header easily in browser code to do testing with,
that is the motivation behind the desire for this behavior.

-- 
Jarrod Roberson
www.vertigrated.com/blog

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2720780

Reply via email to