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

Re: app:accept and Atom entry MIME type




>>>>
>>>> Won't the extensions be ignored by a server that doesn't want them?
>>>
>>> The media type parameter is for use primarily in the app:accept
>>> signaling. If a server doesn't require it or doesn't understand it,
>>> it can safely ignore it.
>>
>> Yes, I know.  Don't use the app:accept signaling.  AFAICT, there is
>> no need to do so.  Just send the AtomPub/HTTP message to the server.
>
> Wait a second. There's a reason we have app:accept. Are you indicating
> that they are irrelevant? You can always check whether a certain
> method can be used on a certain resource. However, the app:accept
> metadata tells you in advance what is likely to happen so you can
> decide whether or not to attempt an operation. Not every feed is an
> AtomPub collection, even if it is coming from an AtomPub server.
>

Well app:accept is not an element of the feed anyway. It's part of the
service document so collection feeds aren't really differentiable from
other feed types in that fashion.

app:accept is merely informative to be fair since the server might decide
to reject or even accept a media-type it did or didn't advertise using
app:accept. Obviously it's better if servers do as they say but I doubt
the spec. forces them to do so.

- Sylvain
-- 
Sylvain Hellegouarch
http://www.defuze.org