Useful, free online tool that converts octal data to plain text. To open an unidentified file, you need to either figure out which program can open the file as a document or change the files extension to run as a program. the MIME type image/jpeg, application/octet-stream or even text/html. Application/octet-stream content-type is used to transfer binary data in the HTTP request body. So application/octet-stream is used for sending files over HTTP request. Let’s see an example of both HTTP client and server in golang for sending and receiving application/octet-stream data.Īlso, create a file named photo.png in the client folder HTTP Client Exampleįmt.Printf("Error occurred. Octet-stream does not refer to a specific type of file - it could be anything from a spreadsheet to an executable program. in octet-stream form and the docs say: To download, read, convert to PST or.