On Jul 2, 2006, at 4:54 PM, Bill de hÓra wrote:


Jan Algermissen wrote:
Hi,
do you think it is desired/appropriate behaviour for an Atom server to redirect from a media entry to the media resource when a client does a GET request with the Accept header *not* containing application/atom+xml?

Not really. 406 Not Acceptable.

Hmm, thanks.
Without any intent to argue about this, here is a thought though: IMHO, the media entry acts as a negotiation point (for the metadata and the actual media resource) and this suggests using the redirect (again, IMO). Isn't this view also backed by the fact that the server created the media entry in the first place, upon submission of the media resurce?

Just food for thought though.


What if the Accept header in does not include application/atom+xml but does include a type that matches the actial type of the media resource?

Maybe you can send back 300 Multiple Choices (but does anyone actually use this?)


With the media entry body supplying the alternatives? This wouldn't be really different from a 200, or?

Thanks,

Jan


cheers
Bill



Reply via email to