What Content-Type should binary data use?

Viewed 8208

My webservice used to take a simple JSON body and so I was passing a Content-Type: application/json and expecting that on the server side. Now I've implemented encryption of the body so I'm not sure what I should do with the headers. It's not actually JSON any longer.

1 Answers

application/octet-stream might be suitable in this case. But when ssl is available why do you have to do one more encryption?

Related