Fix the S3 HEAD response body
This commit is contained in:
parent
4520cd930f
commit
c7bcbadc6e
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user