Mime Application Octet Stream
Constructor Detail
MimetypesFileTypeMap
MimetypesFileTypeMap
Construct a MimetypesFileTypeMap with programmatic entries added from the named file.- Parameters:
mimeTypeFileName
- the file name- Throws:
IOException
MimetypesFileTypeMap
Construct a MimetypesFileTypeMap with programmatic entries added from the InputStream.- Parameters:
is
- the input stream to read from
Method Detail
addMimeTypes
- Parameters:
mime_types
- A .mime.types formatted string of entries.
getContentType
Return the MIME type of the file object. The implementation in this class callsgetContentType(f.getName())
.- Specified by:
getContentType
in classFileTypeMap
- Parameters:
f
- the file- Returns:
- the file's MIME type
getContentType
Return the MIME type based on the specified file name. The MIME type entries are searched as described above under MIME types file search order. If no entry is found, the type 'application/octet-stream' is returned.- Specified by:
getContentType
in classFileTypeMap
- Parameters:
filename
- the file name- Returns:
- the file's MIME type
Hi mscase,
Were you able to stream the images before? Do you remember any recent changes made on your computer after which you are facing the issue?
By default, many web servers are configured to report a MIME type of text/plain or application/octet-stream for unknown content types. As new content. Apr 25, 2018 - A MIME attachment with the content type “application/octet-stream” is a binary file. Typically, it will be an application or a document that must be. These OCTET-STREAM files may be opened by renaming the extension of the attached file to a specific file extension, and then by using an application with support for opening such files. For example, an.octet-stream file may be renamed to a.txt file (if it is indeed a.txt file), and Notepad may then be used to open the file.
Run internet explorer without add-ons, follow the steps for the same:
i.Right click on Internet explorer icon
ii.From the list select “Browse without add-ons”
iii.Try to stream the images
Link you may refer to: Internet Explorer add-ons: frequently asked questions: http://windows.microsoft.com/en-us/windows-vista/internet-explorer-add-ons-frequently-asked-questions
If the browser works fine after these steps, add-on may be causing the error.
Steps to determine which add-on may be causing the error
i.Open Internet explorer.
ii.Click the Tools button, click Manage add-ons, and then click Enable or disable Add-ons.
iii.In the show list, click Add-ons that have been used by Internet Explorer to display all add-ons.
iv.Click the Add-ons you want to enable, and then select Enable.
v.Repeat step iv for every add-on you want to enable. When you have finished click OK.
You may even refer the below links: MIME Type Detection in Internet Explorer: http://msdn.microsoft.com/en-us/library/ms775147(VS.85).aspx
Handling MIME Types in Internet Explorer: http://msdn.microsoft.com/en-us/library/ms775148(VS.85).aspx
Regards:
Mime Type ('application/octet-stream') Is Not Executable
Samhrutha G S - Microsoft Support.
Visit our Microsoft Answers Feedback Forum and let us know what you think.