s3-tests/s3tests/functional/AnonymousAuth.py

6 lines
185 B
Python
Raw Permalink Normal View History

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