cgi authoriszation
Robin Becker
robin at jessikat.fsnet.co.uk
Sat Feb 9 20:34:17 EST 2002
Is there any way to get the cgi module to do authorization. I can make scripts
demand authorization by including headers as follows
print 'Status: 401 Authentification required'
print 'WWW-Authenticate: Basic realm="dingo"'
print 'Content-type: text/html'
print
print '<html><head></head><body>Authorisation Needed</body></html>
but I don't seem to see either 'authorization' or 'http_authorization' in the
client's response. Is apache filtering out the credentials?
--
Robin Becker
More information about the Python-list
mailing list