Bug 470611 - No mime type sent for "Source files" API
Summary: No mime type sent for "Source files" API
Status: NEW
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: BuildService (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Michael Schröder
QA Contact: Adrian Schröter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-29 14:25 UTC by Vincent Untz
Modified: 2012-03-29 10:28 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Untz 2009-01-29 14:25:23 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.
Comment 1 Sascha Peilicke 2010-11-12 15:12:41 UTC
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?
Comment 2 Michael Schröder 2011-04-11 16:01:01 UTC
Fine with me for a couple of hardcoded suffixes