From c7bcbadc6ec1e32ff80cc805834ecb03fabeef42 Mon Sep 17 00:00:00 2001 From: Taro Sato Date: Tue, 30 Jan 2018 13:48:04 -0800 Subject: [PATCH] Fix the S3 HEAD response body --- moto/s3/responses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/s3/responses.py b/moto/s3/responses.py index 8d2caf098..1b32698e4 100755 --- a/moto/s3/responses.py +++ b/moto/s3/responses.py @@ -172,7 +172,7 @@ class ResponseObject(_TemplateEnvironmentMixin): # HEAD (which the real API responds with), and instead # raises NoSuchBucket, leading to inconsistency in # error response between real and mocked responses. - return 404, {}, "Not Found" + return 404, {}, "" return 200, {}, "" def _bucket_response_get(self, bucket_name, querystring, headers):