From: alexander s. <a1...@us...> - 2006-02-22 05:41:09
|
Update of /cvsroot/roundup/roundup/roundup/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29432 Modified Files: roundup_server.py Log Message: fix failure with browsers not sending "Accept-Language" header (sf bug 1435335) Index: roundup_server.py =================================================================== RCS file: /cvsroot/roundup/roundup/roundup/scripts/roundup_server.py,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -r1.81 -r1.82 *** roundup_server.py 25 Dec 2005 14:52:33 -0000 1.81 --- roundup_server.py 22 Feb 2006 05:40:56 -0000 1.82 *************** *** 260,264 **** if os.environ.has_key('CGI_SHOW_TIMING'): env['CGI_SHOW_TIMING'] = os.environ['CGI_SHOW_TIMING'] ! env['HTTP_ACCEPT_LANGUAGE'] = self.headers['accept-language'] # do the roundup thing --- 260,264 ---- if os.environ.has_key('CGI_SHOW_TIMING'): env['CGI_SHOW_TIMING'] = os.environ['CGI_SHOW_TIMING'] ! env['HTTP_ACCEPT_LANGUAGE'] = self.headers.get('accept-language') # do the roundup thing |