10582Re: [rest-discuss] Content negotiation unRESTful?
- Apr 1, 2008On 3/31/08 10:06 AM, Jan Algermissen wrote:
> Hmm...wonder how one would do this with an Atom entry's content,The atom:entry represents a particular resource with whatever content is
> where there can only be one content which also should have a media
> type attribute set.
specified by the atom:content element.
The proper way to represent other types of representations of the same
atom:entry would be to use an atom:link with a rel attribute of "alternate" and
a type attribute for the specific media type represented by the URI in the link
You can have multiple "alternate" atom:link elements provided that there is not
more than one with the same combination of type and hreflang.
- << Previous post in topic Next post in topic >>