s3-tests/AnonymousAuth.py

9 lines
275 B
Python
Raw Normal View History

2011-06-10 16:43:18 +00:00
from boto.auth_handler import AuthHandler
class AnonymousAuthHandler(AuthHandler):
def __init__(self, host, config, provider):
AuthHandler.__init__(self, host, config, provider)
def add_auth(self, http_request, **kwargs):
return # Nothing to do for anonymous access!