-
Bug
-
Resolution: Duplicate
-
Medium
I placed an .apk (android app format) file in Downloads section of my repo. When a user downloads the file, the server returns "Content-Type: binary/octet-stream" header, which I assume is a fallback for all unrecognized types.
The problem is that Android requires "application/vnd.android.package-archive" mime type to recognize that the download is an app [1]. As it is now, if a user tries to install the downloaded app, Android default download manager fails with an unhelpful message "Can't open file".
The solution would be to return the correct mime header for .apk downloads.