[Cosmo] content negotiation and cosmo

Brian Moseley bcm at osafoundation.org
Tue Mar 14 16:29:11 PST 2006


On 3/14/06, Bobby Rullo <br at osafoundation.org> wrote:

> Maybe you could have your cake and eat it too like this:
>
>         When doing a GET in the user's DAV home without an Accept header,
> (they're not required, right?) return the default cosmo format for
> that resource. If they specify something in Accept, respect the
> client's wishes.
>
>         In addition, have content-type-specific paths for different feeds
> and formats, and requests in those paths will only return the one
> type of format that it is intended for.

yeah, it is probably not a problem to forward the request to the feed
url if we see the Accept header asking for atom instead of the default
format. again, there is the question of whether there are different
security requirements for the atom url - but if there are, then we can
always send an external redirect rather than internally forwarding.



More information about the cosmo-dev mailing list