diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2018-01-13 09:50:17 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-01-13 09:50:17 -0500 |
commit | c63d070973356a3fa06e48cfe608b841ae8d3e3d (patch) | |
tree | 9ba8210be17e45a70d46415a6d065804508000fa /cherrypy/lib/httpauth.py | |
parent | 821e1553d080aac3c2441dd38909b1130e99e005 (diff) | |
download | cherrypy-git-c63d070973356a3fa06e48cfe608b841ae8d3e3d.tar.gz |
Deprecate httpauth module. Ref #1688.
Diffstat (limited to 'cherrypy/lib/httpauth.py')
-rw-r--r-- | cherrypy/lib/httpauth.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cherrypy/lib/httpauth.py b/cherrypy/lib/httpauth.py index e3a9b85e..88797b51 100644 --- a/cherrypy/lib/httpauth.py +++ b/cherrypy/lib/httpauth.py @@ -24,6 +24,7 @@ SUPPORTED_QOP - list of supported 'Digest' 'qop'. """ import time +import warnings from hashlib import md5 from six.moves.urllib.request import parse_http_list, parse_keqv_list @@ -33,6 +34,12 @@ from cherrypy._cpcompat import ( ) +warnings.warn( + "`httpauth` module is deprecated. Do not use.", + DeprecationWarning, +) + + __version__ = 1, 0, 1 __author__ = 'Tiago Cogumbreiro <cogumbreiro@users.sf.net>' __credits__ = """ |