Add ".apk" file extension in "mime.types" file

Konstantin Pavlov thresh at nginx.com
Tue Feb 5 15:52:42 UTC 2019


Hi Fabio,

05.02.2019 16:02, Fabio Ancona wrote:
> Hi all.
> As reported here "https://github.com/nginx/nginx/pull/39" the ".apk"
> file extension is not managed by nginx.
> Please add "application/vnd.android.package-archive          apk;" to
> the "mime.types" file.
> 
> I have tested it on my nginx/1.15.8 and .apk files are correctly
> downloaded. Before, without "apk" in mime.types, nginx sent .apk as "text".
> Thank you.
> Best Regards.
Wouldnt a simple "default_type application/octet-stream" be enough,
which is a default for most nginx packages ?  I've been personally
running it for years on https://nightlies.videolan.org/ and never
received a single complaint from the testers.

Overall the consensus seems to be that the content type must be widely
used on the internet to justify its addition.  It's hard to judge the
popularity for a delivery method predominatly used for closed-garden
software shops, but what is the software of question that expects such a
mime type?

Thank you,

-- 
Konstantin Pavlov
https://www.nginx.com/


More information about the nginx-devel mailing list