summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2018-04-22 00:27:12 +0200
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2018-04-22 12:38:01 +0200
commit5bc6fe5528de36331fb43e670c88df43e5ac434a (patch)
tree2bf494692fde9a2e86a7efcd763259fb812033d8
parent79ff8376e120bbf50e49e8810107c22472e14744 (diff)
downloadcherrypy-git-5bc6fe5528de36331fb43e670c88df43e5ac434a.tar.gz
Move lib.auth_basic docstring to the right place
-rw-r--r--cherrypy/lib/auth_basic.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/cherrypy/lib/auth_basic.py b/cherrypy/lib/auth_basic.py
index 44eb9b14..dd4dfb49 100644
--- a/cherrypy/lib/auth_basic.py
+++ b/cherrypy/lib/auth_basic.py
@@ -1,14 +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 Basic Authentication tool.
-import binascii
-
-import cherrypy
-from cherrypy._cpcompat import base64_decode
-
-
-__doc__ = """This module provides a CherryPy 3.x tool which implements
+This module provides a CherryPy 3.x tool which implements
the server-side of HTTP Basic Access Authentication, as described in
:rfc:`2617`.
@@ -25,6 +20,13 @@ as the credentials store::
"""
+import binascii
+import unicodedata
+
+import cherrypy
+from cherrypy._cpcompat import base64_decode, ntob, ntou, tonative
+
+
__author__ = 'visteya'
__date__ = 'April 2009'