<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Konstantin.</div><div>About "client software" I'm referring to browser, Chrome and Internet Explorer in this case.</div><div>I suggested to add "apk" to the nginx's mime type file only because, without any customization / specification in nginx, the apk file are shown as "text/plain" (like a webpage) in the browser (both Chrome and Internet Explorer).</div><div>Yes, if I add "default_type application/octet-stream" for apk of course I'm able to downlaod it as file.</div><div>"application/vnd.android.package-archive" seems to be the "most appropriate and the official one" mime type for .apk files and if I add "application/vnd.android.package-archive" to nginx's mime type file both Chrome and Internet Explorer are able to "recognize" it as file to download and not to show like a HTML page in the browser.</div><div><br></div><div>Anyway you are free to choose what to do.</div><div>Thank you.</div><div><br></div><div>Fabio Ancona</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mar 5 feb 2019 alle ore 16:52 Konstantin Pavlov <<a href="mailto:thresh@nginx.com">thresh@nginx.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Fabio,<br>
<br>
05.02.2019 16:02, Fabio Ancona wrote:<br>
> Hi all.<br>
> As reported here "<a href="https://github.com/nginx/nginx/pull/39" rel="noreferrer" target="_blank">https://github.com/nginx/nginx/pull/39</a>" the ".apk"<br>
> file extension is not managed by nginx.<br>
> Please add "application/vnd.android.package-archive          apk;" to<br>
> the "mime.types" file.<br>
> <br>
> I have tested it on my nginx/1.15.8 and .apk files are correctly<br>
> downloaded. Before, without "apk" in mime.types, nginx sent .apk as "text".<br>
> Thank you.<br>
> Best Regards.<br>
Wouldnt a simple "default_type application/octet-stream" be enough,<br>
which is a default for most nginx packages ?  I've been personally<br>
running it for years on <a href="https://nightlies.videolan.org/" rel="noreferrer" target="_blank">https://nightlies.videolan.org/</a> and never<br>
received a single complaint from the testers.<br>
<br>
Overall the consensus seems to be that the content type must be widely<br>
used on the internet to justify its addition.  It's hard to judge the<br>
popularity for a delivery method predominatly used for closed-garden<br>
software shops, but what is the software of question that expects such a<br>
mime type?<br>
<br>
Thank you,<br>
<br>
-- <br>
Konstantin Pavlov<br>
<a href="https://www.nginx.com/" rel="noreferrer" target="_blank">https://www.nginx.com/</a><br>
</blockquote></div></div>