We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da56e37 commit 4c26676Copy full SHA for 4c26676
roundup/cgi/client.py
@@ -1,4 +1,4 @@
1
-# $Id: client.py,v 1.202 2004-11-18 16:21:07 a1s Exp $
+# $Id: client.py,v 1.203 2004-11-20 17:46:24 a1s Exp $
2
3
"""WWW request handler (also used in the stand-alone server).
4
"""
@@ -379,7 +379,7 @@ def determine_user(self):
379
user = 'anonymous'
380
381
# try handling Basic Auth ourselves
382
- if (user == 'anonymous') and self.env['HTTP_AUTHORIZATION']:
+ if (user == 'anonymous') and self.env.get('HTTP_AUTHORIZATION', ''):
383
scheme, challenge = self.env['HTTP_AUTHORIZATION'].split(' ', 1)
384
if scheme.lower() == 'basic':
385
try:
0 commit comments