Merge pull request #1459 from okomestudio/fix-404-response-on-s3-head
Fix the S3 HEAD response body
This commit is contained in:
commit
2134600e29
@ -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