---------- Forwarded message ----------
From: Ian Stuart <ian.stu...@ed.ac.uk>
Date: 19 January 2011 21:44
Subject: Re: content negotiating for package formats
To: techadvisorypa...@swordapp.org


On 19/01/11 08:06, Richard Jones wrote:
>
> and your content negotiation header says:
>
> Accept: A; q=1.0, B; q=0.8
> Accept-Packaging: Z; q=1.0, X; q=1.0
>
> Which combination do you return?

I agree its not a clear-cut case..... however it also has to be said
that the content negotiation header isn't helping by declaring two
options to be of equal "value"

I would say:
A+Z, then A+X, then B+Z, then B+X

.... FIFO-style

(after all, if you have a preference for order, try:

 Accept-Packaging: X; q=1.0, Z; q=1.0

instead)


Even under the concept of a combined Accept model, what do you do when
you receive

 Accept-Media-Feature: A(Z); q=1.0, A(X); q=1.0, B(Z); q=0.8, B(X); q=0.8


--

Ian Stuart.
Developer: Open Access Repository Junction and OpenDepot.org
Bibliographics and Multimedia Service Delivery team,
EDINA,
The University of Edinburgh.

http://edina.ac.uk/

This email was sent via the University of Edinburgh.

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Sword-app-techadvisorypanel mailing list
Sword-app-techadvisorypanel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sword-app-techadvisorypanel

Reply via email to