0

What can be possible values of response-content-type in object.get API.

It's description says:

Sets the Content-Type header of the response.

Type: String

But I don't see possible values in the docs.

Why I ask is one of the possible value might help in solving this issue.

Community
  • 1
  • 1
Saurabh
  • 71,488
  • 40
  • 181
  • 244

1 Answers1

0

There is no list of the possible values, because Content-Type is provided by you, when you upload the object. The value can be any syntactically valid MIME type, expressed as type "/" subtype *( ";" parameter).

If you provide nothing with the upload, the value is set to the default generic MIME type binary/octet-stream which specifies that the object is to be understood by the user agent as a stream of octets (bytes) with no declared meaning.

Michael - sqlbot
  • 169,571
  • 25
  • 353
  • 427