Fix the S3 HEAD response body
This commit is contained in:
parent
4520cd930f
commit
c7bcbadc6e
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue