On Thu, 17 Nov 2005 15:29:34 -0500, "Clark C. Evans" <[EMAIL PROTECTED]> wrote:

The acceptable languages that the _response_ is allowed to take can be
found in the 'Accept-Language' header.  This has the advantage of
allowing more than one language choice, eighted by preference and
typically auto-configured by your browser from the operating system
defaults.  In most browsers this setting can be changed; for example,
in Firefox go to about:config and navigate to intl.accept_languages.

In this case, since the 'request' object is available, simply pass the 
appropriate data from the header in question down to the object which needs to 
be rendered.  In this case there is even less need for the context: a regular 
HTTP request encapsulates all the data you need!

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to