diff --git a/moto/s3/urls.py b/moto/s3/urls.py index 4a1632bd5..f43e37982 100644 --- a/moto/s3/urls.py +++ b/moto/s3/urls.py @@ -1,6 +1,6 @@ from .responses import all_buckets, bucket_response, key_response -base_url = "https://(.*).s3.amazonaws.com" +base_url = "https?://(.*).s3.amazonaws.com" urls = { 'https://s3.amazonaws.com/$': all_buckets,