View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000346 | file | General | public | 2022-05-13 12:09 | 2022-05-20 11:12 |
Reporter | jukuisma | Assigned To | christos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | feedback | Resolution | reopened | ||
Product Version | 5.41 | ||||
Fixed in Version | 5.42 | ||||
Summary | 0000346: Incorrect video/dv mimetype | ||||
Description | `file` identifies DV files correctly, but returns `application/octet-stream` as the mimetype. No mimetype has been defined for DV files: https://github.com/file/file/blob/22209154702032e9b7f2e96eb7eab174f8e87af9/magic/Magdir/animation#L944. | ||||
Steps To Reproduce | $ wget https://github.com/Digital-Preservation-Finland/file-scraper/raw/c9facae6df774544e4ef8f7a039a926796ef57b8/tests/data/video_dv/valid__pal_lossy.dv $ file valid__pal_lossy.dv $ file --mime-type valid__pal_lossy.dv | ||||
Additional Information | https://www.iana.org/assignments/media-types/video/DV | ||||
Tags | No tags attached. | ||||
|
Fixed, thanks |
|
Shouldn't this be "video/DV" or "video/dv" instead of "video/x-dv"? MIME type "video/DV" is registered in IANA, see the RFC of the registration: https://www.rfc-editor.org/rfc/rfc6469.html As we understand, MIME types with "x-" prefix should be avoided: https://www.rfc-editor.org/rfc/rfc6838.html#section-3.4 (last paragraph of section 3.4) which refers to: https://www.rfc-editor.org/rfc/rfc6648.html |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-05-13 12:09 | jukuisma | New Issue | |
2022-05-14 22:06 | christos | Assigned To | => christos |
2022-05-14 22:06 | christos | Status | new => assigned |
2022-05-14 22:06 | christos | Status | assigned => resolved |
2022-05-14 22:06 | christos | Resolution | open => fixed |
2022-05-14 22:06 | christos | Fixed in Version | => 5.42 |
2022-05-14 22:06 | christos | Note Added: 0003743 | |
2022-05-20 11:12 | jukuisma | Status | resolved => feedback |
2022-05-20 11:12 | jukuisma | Resolution | fixed => reopened |
2022-05-20 11:12 | jukuisma | Note Added: 0003744 |