how to set qs with MultiViews

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

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux