S3 - Only add metadata once; use binary file content
This commit is contained in:
parent
b33c5dff06
commit
8b63421321
3 changed files with 15 additions and 12 deletions
|
|
@ -1081,7 +1081,7 @@ class ResponseObject(_TemplateEnvironmentMixin, ActionAuthenticatorMixin):
|
|||
return 403, {}, ""
|
||||
elif signed_url:
|
||||
# coming in from requests.get(s3.generate_presigned_url())
|
||||
if self._invalid_headers(request.url, dict(headers)):
|
||||
if self._invalid_headers(request.url, dict(request.headers)):
|
||||
return 403, {}, S3_INVALID_PRESIGNED_PARAMETERS
|
||||
|
||||
if hasattr(request, "body"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue