You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.
class is determined by the content-type sent by the browser.
We should probably use the same method to set both of this value.
(sample : when uploading a .ogg file, Firefox set a wrong content-type of video/ogg, so the class of the document is set to video, but it's MIME type determined from the file extension is audio/ogg)
The text was updated successfully, but these errors were encountered:
When uploading a file, we try to guess its MIME type and set a class (audio, video…). But we don't use the same method:
We should probably use the same method to set both of this value.
(sample : when uploading a
.ogg
file, Firefox set a wrong content-type ofvideo/ogg
, so the class of the document is set tovideo
, but it's MIME type determined from the file extension isaudio/ogg
)The text was updated successfully, but these errors were encountered: