s3-tests/s3tests/functional/AnonymousAuth.py

5 lines
185 B
Python

from boto.auth_handler import AuthHandler
class AnonymousAuthHandler(AuthHandler):
def add_auth(self, http_request, **kwargs):
return # Nothing to do for anonymous access!