Re: Linking resources using headers?

2012-08-06 Thread Tim Peierls
The best way I know to manipulate the response object without giving up the simplicity of object->variant conversion is to override the Resource.toRepresentation method. An example of using this technique can be found in the (0-rated) first answer to this question: http://stackoverflow.com/questio

Linking resources using headers?

2012-08-06 Thread Norm Deane
One of the recipes in the O'Reily RESTful Web Services Cookbook outlines a way to provide a format-independent means to convey resource links using HTTP Headers. Something like this... # Response HTTP/1.1 200 OK Content-Type: application/xml Link: ; re