s3-tests/AnonymousAuth.py

6 lines
176 B
Python
Raw Normal View History

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