ZIP file content type for HTTP request [duplicate]

I am sending a zip file to server via HTTPREQUEST. What should be the Content-Type HTTP header value for this kind of file?

The file is a ZIP archive that contains images on type PNG.

Thanks


.zip    application/zip, application/octet-stream

The standard MIME type for ZIP files is application/zip. The types for the files inside the ZIP does not matter for the MIME type.

As always, it ultimately depends on your server setup.


[request setValue:@"application/zip" forHTTPHeaderField:@"Content-Type"];