diff MoinMoin/i18n/__init__.py @ 941:16f7b6728b4e

move vary: header code to request module and fix it (multiple headers of same type don't work!)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 16 Jul 2006 14:58:21 +0200
parents d2f07ff64b78
children 787e963c9bfd
line wrap: on
line diff
--- a/MoinMoin/i18n/__init__.py	Sun Jul 16 13:51:22 2006 +0200
+++ b/MoinMoin/i18n/__init__.py	Sun Jul 16 14:58:21 2006 +0200
@@ -284,8 +284,6 @@
     if not request.cfg.language_ignore_browser:
         for lang in browserLanguages(request):
             if lang in available:
-                if request.http_accept_language:
-                    request.setHttpHeader('Vary: Accept-Language')
                 return lang
 
     # Or return the wiki default language...