[Zope-Checkins] CVS: Zope/ZServer - FCGIServer.py:1.15
Andreas Jung
andreas@digicool.com
Thu, 11 Apr 2002 13:36:42 -0400
Update of /cvs-repository/Zope/ZServer
In directory cvs.zope.org:/tmp/cvs-serv631/ZServer
Modified Files:
FCGIServer.py
Log Message:
removed auth code
=== Zope/ZServer/FCGIServer.py 1.14 => 1.15 ===
if not referer: referer=''
- auth=self.get_header('Authorization')
- name='Anonymous'
- if auth is not None:
- if string.lower(auth[:6]) == 'basic ':
- try: decoded=base64.decodestring(auth[6:])
- except base64.binascii.Error: decoded=''
- t = string.split(decoded, ':', 1)
- if len(t) < 2:
- name = 'Unknown (bad auth string)'
- else:
- name = t[0]
-
if self.env.has_key('PATH_INFO'):
path=self.env['PATH_INFO']
else: