From: SourceForge.net <no...@so...> - 2006-02-21 05:39:38
|
Bugs item #1435335, was opened at 2006-02-20 19:21 Message generated for change (Settings changed) made by a1s You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402788&aid=1435335&group_id=31577 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Web interface Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Stefan Seefeld (stefan) Assigned to: Richard Jones (richard) Summary: roundup_server.py expects accept-language header. Initial Comment: roundup_server.py expects the accept-language header to be set (roundup_server.py:262), no matter the actual configuration. This leads to the following stack trace for browsers that don't provide it: Traceback (most recent call last): File "/usr/local/roundup-1.1.0/lib/python2.4/site-packages/roundup/scripts/ro\ undup_server.py", line 106, in run_cgi self.inner_run_cgi() File "/usr/local/roundup-1.1.0/lib/python2.4/site-packages/roundup/scripts/ro\ undup_server.py", line 262, in inner_run_cgi env['HTTP_ACCEPT_LANGUAGE'] = self.headers['accept-language'] File "/usr/lib/python2.4/rfc822.py", line 390, in __getitem__ return self.dict[name.lower()] KeyError: 'accept-language' ---------------------------------------------------------------------- >Comment By: alexander smishlajev (a1s) Date: 2006-02-21 07:39 Message: Logged In: YES user_id=8719 duplicate of 1429646 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402788&aid=1435335&group_id=31577 |