Opening an .apk on Android shows a file list instead of installing
The issue happens with an incorrect HTTP header.
If the request has the right Content-Type header: application/vnd.android.package-archive, the APK will be installed correctly.