Project

General

Profile

Bug #1366

MIME Type Detection

Added by ming about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
-
Start date:
05/09/2014
Due date:
% Done:

0%


Description

HTML files at the Welcome server and the Introduction share have application/octet-stream MIME. The same goes to the TIFF picture at the Demo server and the Pictures share plus to the DOC named Sample.doc at the Demo server and the Docs share.

History

#1 Updated by cpg about 8 years ago

I updated the demo server with the tiff/tif extension as well as all the microsoft mime types from the post-2007 era as indicated here http://blogs.msdn.com/b/vsofficedeveloper/archive/2008/05/08/office-2007-open-xml-mime-types.aspx

I also added a few more like

However, in general we need a strategy for this. In iOS we had a waterfall chain, with a default, that could handle a lot of these, automatically.

We cannot possibly cover all file formats and the (sometimes controversial) mime types. Plus there are new ones popping up every once in a while.

Let's keep this open as we see what people want and we adapt for the Android platform.

#2 Updated by cpg about 8 years ago

  • Status changed from New to Closed

Let's close this as it was fixed at the server level and we're not going to discuss the architecture of the code for "mime type ==> viewer" here.

#3 Updated by ming about 8 years ago

MPEG-4 audio with extension .m4a is shown as application/octet-stream. file --mime shows it as audio/mp4. I found the RFC which states it as well.

#4 Updated by ming about 8 years ago

HTML files at the welcome server are shown as application/octet-stream as well for me.

#5 Updated by ming about 8 years ago

Another one. SVG files are shown as application/octet-stream, should be image/svg+xml.

#6 Updated by cpg about 8 years ago

  • Status changed from Closed to Assigned
  • Assignee changed from cpg to ming

server with the requested mime types has been sent by email.

please assign back to me when it's tested.

if it works well, please close the bug. if not, please set to feedback.

#7 Updated by ming about 8 years ago

  • Status changed from Assigned to Closed

Also available in: Atom