On Mon, Mar 3, 2008 at 6:00 PM, keke <[EMAIL PROTECTED]> wrote:
[...]
> > Another workable solution I have found -- if you are using XML and will get
>  > criticized for making up MIME types -- is to expose the browser-friendly
>  > HTML variant by itself on a distinct URI (e.g. person.html).  That's sloppy
>  > too, just in a different way.
>
>  I think this might be a better and clear way than specifying content
>  type in the HTTP header. The book Restful web service also recommends
>  doing this. It is both friendly to browser client and programmatic
>  client.

It's easy enough to support both approaches in the Resources' code.
I.e., it doesn't have to be an either/or dichotomy.

Take care,
John

Reply via email to