[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Namespace and media types



On Fri, Jun 18, 2004 at 03:41:18PM +0100, Graham wrote:

> >1. GET requests for Feeds (and Entries should they get URIs some day
> >[+1 btw]) SHOULD/MUST contain:
> >
> >   Accept: application/atom+xml
> 
> Is this in the slightest bit enforceable? Can Atom rules apply even 
> before the program knows it's dealing with Atom?

No, but if you don't include application/atom+xml in your Accept
header, you must accept (;-) that you might not get Atom back. But
then you might not with:

Accept: application/rss+xml; q=1, application/atom+xml

or similar. However I think that Atom should favour the use of Accept
where possible; in many cases, user agents will either only accept
Atom, or accept a relatively few RSS-based alternatives, which is
readily expressible in an Accept header (even with a complete fallback
at the end with low-q in case people don't have their RSS feeds set up
with an appropriate MIME type).

James

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james@xxxxxxxxxxxx                               uncertaintydivision.org