John D. Mitchell wrote:
FWIW, I don't find relying on the accept header to be reliable because
of these kinds of issues.

Even if you do support the accept header, it seems to be a good idea
to also support the explicit specifying of the type in the link such
as .xml/.json/etc.  An example of this is the Zimbra API, IIRC.

That's a good idea; but I'm not too worried about lock-in since I figure the code is readily available to choose the best variant based on a file extension versus the Accept header. That would probably be a useful tutorial though :-)

Chris

--
Chris Winters ([EMAIL PROTECTED])
Lead Software Developer
Vocollect Healthcare Systems

CONFIDENTIAL, PRIVILEGED COMMUNICATION: This e-mail is private and intended for the addressee(s) only. It may contain privileged and/or confidential information. If you have received it in error you are not authorized to disseminate it in any manner; please delete it and any copies and reply to the sender that it was misdirected.

Reply via email to