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, compat, http, utils, StringIO
|
Formats WWW-Authentication header value as per RFC2617, section 1.2
|
Parses the contents of 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 Mon Apr 4 13:43:45 2016 | http://epydoc.sourceforge.net |