What Is Application Octet Stream

 Posted admin

Join GitHub today

  1. Octet Stream Viewer

Would you be willing to look through the MIME and content-type bugs that are currently open in Bugzilla (search for those two words in products MailNews Core and Thunderbird), and see how many of them can be consolidated into one patch that isn't PDF-specific? What Is an 'octet Stream'? An octet stream is the binary version of a MIME-type file. MIME-type files are those sent and received through browsers, servers and web clients. An octet is an eight-bit byte. An octet-stream file may be any file format such as an.exe or.jpeg renamed during transmission. 'unknown' means 'unknown'. 'octet-steam' means 'bunch of bytes in a row', which you might know better as the term 'binary file'. All in all not that helpful, unfortunately.

GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.

Sign up New issue

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

What

Octet Stream Viewer

commented Jan 24, 2016

application/octet-stream is not a neutral content-type. When used in the Content-Type header of an http response, it may trigger download (and possibly execution).
On top of being an unwanted behavior in most cases, this is a security issue.
In case of serving files uploaded by users, It may allow them to makes visitors download virus and malwares without them knowing it (depending on the browser/download manager, the download could be hardly noticeable). Some OS/browser combination may also execute it or propose to execute it.

Also, assuming a file (or directory) is a binary file just because it has an unknwon extension is totally wrong and an unexpected behavior.

The expected and optimal behavior is to return null when the content type could not be guessed.

Then you should start USB debugging on your phone. Software to download text messages. - Support a wide range of brands, such as HTC, Samsung, Motorola, Sony, ZTE, LG, Huawei, Dell and many other phones with Android system. Here, you can follow the onscreen prompt to open it or click to learn how to on different Android OS. Connect Your Android Phone to PC First of all, you need to launch the installed program and use a USB cable to connect your Android phone to PC. - Back up other types of data to desktop computer, including, apps,, etc.

We've discussed a bit on the subject here: pillarjs/send#98

commented Jan 24, 2016

In case returning null is not acceptable for backward compatility reasons,

  • text/plain would be a better default on the web for security reasons (the content will never be downloaded nor executed)
  • application/unknown could be also a good default because it is less handled specifically by browsers (not downloaded) and it also allow to handle it server side because this is not the type of another known file.

commented Jan 24, 2016

In a standard point of view, here the rules:

Aug 14, 2014  Sony's Clever but Flawed PlayStation Copy Protection--And How They Might Have Fixed It - Duration: 14:15. Technology Connections Recommended for you. Y8. IZotope Ozone 8 Crack With Full Serial Number. IZotope Ozone 8 Crack with Serial Number is an entire audio mastering software that gives an abundance of options and choices to create tunes. Computer systems can significantly improve the sound producing capabilities of an audio studio.

  • RFC-2046 which defines only known types

The 'octet-stream' subtype is used to indicate that a body contains arbitrary binary data.

  • RFC-7231 which tell what to do when the type is unknown

A sender that generates a message containing a payload body SHOULD
generate a Content-Type header field in that message unless the
intended media type of the enclosed representation is unknown
to the
sender. If a Content-Type header field is not present, the recipient
MAY either assume a media type of 'application/octet-stream'
([RFC2046], Section 4.5.1) or examine the data to determine its type.

So unknown type => no Content-Type header.

added a commit to felicienfrancois/node-mime that referenced this issue Mar 1, 2016

Set default_type to null instead application/octet-stream

referenced this issue Mar 1, 2016

Closed

Set default_type to null instead application/octet-stream #143

commented Mar 23, 2017

+1 This would help me as well.

This was referenced Jun 15, 2017

OctetWhat is an application octet stream
Closed
Closed

added the V2 label Jun 15, 2017

referenced this issue Jun 15, 2017

Closed

don't make default_type global #78

commented Sep 15, 2017

Fixed in v2

referenced this issue Mar 1, 2018

Closed

why mime.getType('unknown') returns null rather then 'application/octet-stream' #195

referenced this issue Jul 17, 2018

Merged

fix early bail when testing if string field should link to File node #6504

referenced this issue Oct 16, 2018

Merged

Add guess_mime_type_str #38

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment