summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2018-04-22 03:23:36 +0200
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2018-04-22 12:38:04 +0200
commit8c7fdc4e0eed1355b947ad4b4d8e51ed04ab80e0 (patch)
treede9518f3bfa74a7c2c1d5e1ca37ca2b075850bb8
parent5bc6fe5528de36331fb43e670c88df43e5ac434a (diff)
downloadcherrypy-git-8c7fdc4e0eed1355b947ad4b4d8e51ed04ab80e0.tar.gz
Move lib.auth_digest docstring to the right place
-rw-r--r--cherrypy/lib/auth_digest.py12
1 files changed, 2 insertions, 10 deletions
diff --git a/cherrypy/lib/auth_digest.py b/cherrypy/lib/auth_digest.py
index b604bf6d..7bb35be4 100644
--- a/cherrypy/lib/auth_digest.py
+++ b/cherrypy/lib/auth_digest.py
@@ -1,17 +1,9 @@
# This file is part of CherryPy <http://www.cherrypy.org/>
# -*- coding: utf-8 -*-
# vim:ts=4:sw=4:expandtab:fileencoding=utf-8
+"""HTTP Digest Authentication tool.
-import time
-from hashlib import md5
-
-from six.moves.urllib.request import parse_http_list, parse_keqv_list
-
-import cherrypy
-from cherrypy._cpcompat import ntob
-
-
-__doc__ = """An implementation of the server-side of HTTP Digest Access
+An implementation of the server-side of HTTP Digest Access
Authentication, which is described in :rfc:`2617`.
Example usage, using the built-in get_ha1_dict_plain function which uses a dict