x-oss-storage-class header cannot be left empty.
x-oss-storage-class header which is used to specify the storage class of an object is left empty.
PUT /ObjectName HTTP/1.1
Date: GMT Date
Make sure that a valid value is specified for the
x-oss-storage-class header specifies the storage class of an object. If you specify the x-oss-storage-class header when you upload an object by calling the PutObject operation, the storage class of the uploaded object is the specified value of the header regardless of the storage class of the bucket to which the object is uploaded. For example, if you set the
x-oss-storage-class header to Standard when you upload an object to an IA bucket, the object is stored as a Standard object.
Valid values of the