Skip to main content
NetApp Knowledge Base

S3 GET/JEAD object response changes ContentDisposition value to  lowercase

Views:
13
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
esg
Last Updated:

Applies to

StorageGrid 11.4

Issue

S3 GET/HEAD object response changes ContentDisposition value to lower-case, unlike AWS.
  • For uploading an object, create the filename key value of the Content-Disposition head and ingest it. The file name is capital letters.

Example:

Object Upload: # aws s3 cp ABC.txt s3://demo/ --content-type "APPLICATION/OCTET-STREAM" --content-disposition "Attachment; filename=AAA.txt" --endpoint https://dc1-g1.demo.netapp.com:10443

clipboard_e32b7763c17f8da0de3e133f2a93d463f.png

  • Then, create the pre-signed URL of the object and try to download the object from the client with the file name entered in the filename key. The problem here is that the file is downloaded as a lowercase file.

Example:

# aws s3 presign s3://demo/ABC.txt --expires-in 3000 --endpoint https://dc1-g1.demo.netapp.com:10443

clipboard_eef4651592abf13899531593c491d5ba8.png

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.
Scan to view the article on your device