Revision 8a088b79
b/lib/http/auth.py | ||
---|---|---|
40 | 40 |
HTTP_DIGEST_AUTH = "Digest" |
41 | 41 |
|
42 | 42 |
# Not exactly as described in RFC2616, section 2.2, but good enough |
43 |
_NOQUOTE = re.compile(r"^[-_a-z0-9]$", re.I) |
|
43 |
_NOQUOTE = re.compile(r"^[-_a-z0-9]+$", re.I)
|
|
44 | 44 |
|
45 | 45 |
|
46 | 46 |
def _FormatAuthHeader(scheme, params): |
Also available in: Unified diff