webm is guessed as application/octet-stream on Lucid & ubuntuone-servers

Bug #981430 reported by Roman Yepishev
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu One Servers
Triaged
Undecided
Ubuntu One Foundations+ team

Bug Description

At the moment if a .webm file is uploaded, the mime-type returned from the server is application/octet-stream:

Lucid:

Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mimetypes
>>> mimetypes.guess_type("blah.webm")
(None, None)

Precise:
Python 2.7.3 (default, Apr 10 2012, 12:29:04)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mimetypes
>>> mimetypes.guess_type("blah.webm")
('video/webm', None)

This should be fixed by updating /etc/mime.types, preferably by fetching the up-to-date file from precise to support more mimetypes.

Tags: foundations+
Roman Yepishev (rye)
description: updated
visibility: private → public
Revision history for this message
dobey (dobey) wrote :

We likely need to backport the shared-mime-info package from precise to lucid.

Leo Arias (elopio)
Changed in ubuntuone-servers:
status: New → Triaged
assignee: nobody → Ubuntu One Foundations+ team (ubuntuone-foundations+)
tags: added: foundations+
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.