Changeset 1351
- Timestamp:
- 09/11/06 12:54:35
- Files:
-
- trunk/cherrypy/_cptools.py (modified) (2 diffs)
- trunk/cherrypy/lib/httpauth.py (added)
- trunk/cherrypy/test/test_httpauth.py (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/_cptools.py
r1330 r1351 157 157 # Builtin tools # 158 158 159 from cherrypy.lib import cptools, encoding, static, tidy159 from cherrypy.lib import cptools, encoding, httpauth, static, tidy 160 160 from cherrypy.lib import sessions as _sessions, xmlrpc as _xmlrpc 161 161 from cherrypy.lib import caching as _caching, wsgiapp as _wsgiapp … … 317 317 default_toolbox.ignore_headers = Tool('before_request_body', cptools.ignore_headers) 318 318 default_toolbox.referer = Tool('before_request_body', cptools.referer) 319 320 321 del cptools, encoding, static, tidy 319 default_toolbox.basicauth = Tool('on_start_resource', httpauth.basic_auth) 320 default_toolbox.digestauth = Tool('on_start_resource', httpauth.digest_auth) 321 322 323 del cptools, encoding, httpauth, static, tidy

