2727import cherrypy
2828from cherrypy ._helper import expose
2929
30- from cherrypy .lib import cptools , encoding , auth , static , jsontools
30+ from cherrypy .lib import cptools , encoding , static , jsontools
3131from cherrypy .lib import sessions as _sessions , xmlrpcutil as _xmlrpc
3232from cherrypy .lib import caching as _caching
3333from cherrypy .lib import auth_basic , auth_digest
@@ -494,8 +494,6 @@ def decorator(func):
494494_d .expires = Tool ('before_finalize' , _caching .expires )
495495_d .ignore_headers = Tool ('before_request_body' , cptools .ignore_headers )
496496_d .referer = Tool ('before_request_body' , cptools .referer )
497- _d .basic_auth = Tool ('on_start_resource' , auth .basic_auth )
498- _d .digest_auth = Tool ('on_start_resource' , auth .digest_auth )
499497_d .trailing_slash = Tool ('before_handler' , cptools .trailing_slash , priority = 60 )
500498_d .flatten = Tool ('before_finalize' , cptools .flatten )
501499_d .accept = Tool ('on_start_resource' , cptools .accept )
@@ -507,4 +505,4 @@ def decorator(func):
507505_d .auth_digest = Tool ('before_handler' , auth_digest .digest_auth , priority = 1 )
508506_d .params = Tool ('before_handler' , cptools .convert_params , priority = 15 )
509507
510- del _d , cptools , encoding , auth , static
508+ del _d , cptools , encoding , static
0 commit comments