What is the correct Content-Type header for uploading a file smaller than 256MB to a dataset?

Prepare for the Adobe Experience Platform Test with questions and explanations. Optimize your study and boost your confidence for the exam.

The correct Content-Type header for uploading a file smaller than 256MB to a dataset is application/octet-stream. This content type indicates that the file being uploaded is binary data. It is commonly used when the exact type of the file is not known or when the file is not easily represented by a more specific Content-Type. Since binary files can encompass a wide variety of file types (e.g., documents, images, executables), application/octet-stream is a suitable choice for general binary file uploads, making it versatile for various types of data being sent to the dataset.

Using other content types, such as application/json, would be appropriate only for JSON data and not for binary files. text/plain is suitable for plain text data but not for binary uploads. Similarly, image/jpeg would be specific to JPEG images and would not apply to general file uploads that may contain different binary content. Therefore, application/octet-stream is the broad and appropriate choice for uploading files in a variety of formats.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy