Trees | Indices | Help |
|
---|
|
HTTP authentication module.
|
|||
HttpServerRequestAuthentication | |||
PasswordFileUser Data structure for users from password file. |
|
|||
str |
|
||
dict |
|
|
|||
HTTP_BASIC_AUTH = "Basic"
|
|||
HTTP_DIGEST_AUTH = "Digest"
|
|||
_NOQUOTE = re.compile(r"^[-_a-z0-9]+$", re.I)
|
Imports: logging, re, base64, binascii, utils, compat, http, StringIO
|
Formats WWW-Authentication header value as per RFC2617, section 1.2
|
Reads a password file. Lines in the password file are of the following format: <username> <password> [options] Fields are separated by whitespace. Username and password are mandatory, options are optional and separated by comma (','). Empty lines and comments ('#') are ignored.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Dec 9 15:55:22 2010 | http://epydoc.sourceforge.net |