Bugzilla – Bug 470611
No mime type sent for "Source files" API
Last modified: 2012-03-29 10:28:28 UTC
When using the "GET /source/<project>/<package>/<filename>" API, no mime type is sent, so it's not possible to directly look at a patch in the browser, for example.
This would be nice indeed but would require quite an addition to the backend. It would have to detect mimetypes accordingly (e.g. by the help of Jürgen Weigerts tool perl-File-Unpack in devel:languages:perl) but I wonder if mls would want this?
Fine with me for a couple of hardcoded suffixes