What Is An Octet Stream
Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign up(RFC 2045 and 2046 published November 1996, subtype last updated April November 1996) The 'octet-stream' subtype is used to indicate that a body contains arbitrary binary data. The set of currently defined parameters is: (1) TYPE -- the general type or category of binary data.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
commented May 2, 2017
My understanding is that the Java SDK sets by default a On the other hand, I've noticed that files uploaded via AWS CLI's Uploading a file via the S3 Web console produces a I was wondering if you had any comment on this difference between |
referenced this issue May 2, 2017
Merged[MODE-2692] Return null MIME type in case of 'application/octet-stream' #1656
commented May 2, 2017
What Is An Octet Stream
Hi don't believe the CLI actually sets Per the S3 docs, the default is |
commented May 2, 2017
Oops sorry looks like I didn't read your question close enough! I'm not sure what the exact reason is for the discrepancy but I suspect it's because |
commented May 3, 2017
Hum, if the default behavior can't be changed (what kind of 'subtle change' do you expect by the way?), what about an option to specify the default MIME type? |
commented May 3, 2017
As far as breaking change, customers may be relying on the fact that the default MIME for objects uploaded using the Java SDK to be Do you expect all of your objects to have Another option might be a custom We can also look into adding a default object MIME if that would be easiest for you. |
commented May 3, 2017
Thanks for the tips on the various methods available. |
commented May 3, 2017 • edited
edited
Are you referring to
? I was imagining just a new option like |
commented May 3, 2017
Yes, I think such an option would be useful. That would even give some API visibility to the fact that the Java SDK uses a 'non-standard' default MIME type. |
commented May 4, 2017
By the way, speaking of |
assigned dagnirMay 15, 2017
referenced this issue Jan 13, 2019
OpenCrash when guess_extension() returns None #37
Tidal.com streams flac files, but it does not provide with file download, which is what I want. As you would expect from a big company such as Tidal, upon my inquiry, its support service in an utmost polite and friendly manner advised me to go funk myself.
Preferring not to, I learned that when flac track is streamed, several .bin files are being cached in my browser. I saved one of such .bin files - its size approximately corresponds to that of flac file, but I was not able to open it with neither 7Zip nor UltraISO nor by renaming it into zip or flac and opening it with VLC or PotPlayer.
So I guess my question is - can I decode such file or obtain flac from it by some other means? Thanks.
1 Answer
A quick Google tells me..
'The FLAC stream is encrypted, though it is possible to find the encryption key in a JSON file that the Tidal API pulls right before streaming a song including the direct song URL and as well as the key, but I’m not sure of the algorithm used. I’ve tested many times with OpenSSL to decrypt the files with AES-128 and 256. Either I’ve setup OpenSSL wrong, or they’re using Salsa20 to encrypt the streams. The API calls are going over HTTPS while the streams are not.'
— in short, you're not going to do it.