httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Anton Mitterer <cales...@scientia.net>
Subject [users@httpd] how to set qs with MultiViews
Date Thu, 04 Aug 2011 13:24:47 GMT
Hi.

I'd like to use content negotiation with MultiViews, but still being able
to set a qs which applies in case several variants would have the same
quality based on the client’s selection.
E.g. if a client says "Accept: image/*; qs=0.5, */*; qs=0.1" and I have a
image test.jpeg and test.png, Apache currently chooses the JPEG (I guess
simply by alphabetical order).
Would be nice if I could tell that in such a case, the PNG is preferred,
e.g. because it supports transparency.

I know about this hack (http://markmail.org/thread/ltgkarxxn2l4hptf)...
and I guess it should fully comply with RFC 2616,... nevertheless it looks
ugly ;-)


Are there any better ways... or is should this become a request for
enhancement.


Cheers,
Chris.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message