Content negotiation?

Igor Sysoev is at rambler-co.ru
Tue Jul 28 11:02:16 MSD 2009


On Tue, Jul 28, 2009 at 10:17:47AM +1000, Jeff Waugh wrote:

> <quote who="Igor Sysoev">
> 
> > nginx does not support content negotiation since I never saw working
> > content negotiation setups, at least in Russia. Could you show good
> > examples ?
> 
> One very simple but useful form of content negotiation is the ability to
> supply files according to the preferred mime types. For instance:
> 
>   http://www.example.com/images/logo -> server provides logo.gif or logo.png
>   depending on what the browser provides in the Accepts header.

I'm not sure that using content negotiation for images is good thing:
all modern browsers understand basic mime types, and these images must
be uncachable on transit proxies.

> Then there's conneg for all kinds of other things like languages, but this
> might be a good first step for nginx.

The question is how many people set (or have by default) right language
in browsers ?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list