httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Windy Road" <...@windyroad.org>
Subject [users@httpd] Re: [webkit-dev] Accept- & Content-Resolution headers proposal
Date Tue, 12 Jun 2007 00:38:05 GMT
Hi,

Does Apache support "Feature negotiation" as specified in RFC 2295
(see http://www.ietf.org/rfc/rfc2295 )?

If so, is there any documentation related to this (I couldn't find any)?

If not, are there any plans to support this portion of the RFC?

FYI the back story to this request is from a discussion regarding
having images served to a client dependant on its resolution and/or
viewport width. Normal browsers may get an the image as 600px across,
small screen devices may get an image that is 150px across and browser
requesting the image for printing purposed may get an image that is
1200px across.

I was able to create a type-map file for the images as follows:

URI: image

URI: image-1200x1000.jpg
Content-type: image/jpeg; qs=0.9

URI: image-600x500.jpg
Content-type: image/jpeg; qs=0.5

URI: image-300x250.jpg
Content-type: image/jpeg; qs=0.25

URI: image-150x125.jpg
Content-type: image/jpeg; qs=0.1

Apache would (correctly) perform server side selection to pick the
variant with the highest qs, however I could not find any way of
specifying features (such as DPI) for each variant, that would allow a
lower qs variant to be selected based on a appropriate request with
"Accept-Features" (e.g. "Accept-Features: dpi=[70-100]").

Cheers,

--
Tom Howard
http://windyroad.org

---------------------------------------------------------------------
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