[ 
https://issues.apache.org/jira/browse/IGNITE-13978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263568#comment-17263568
 ] 

Mauricio Stekl commented on IGNITE-13978:
-----------------------------------------

hi [~vkulichenko] , I’ve been trying a few things locally but I’m afraid I 
can't find a workaround for this. The ‘download’ attribute only works with 
same-origin urls, and since these are mirrors, it will be ignored.
As far as I know we can't control the headers for the mirrors, right? If we 
can, I would suggest adding a rule on an .htaccess to force the mime type of 
the binary file. 
Another alternative could be adding an extension to the file, so the browser 
can detect the mime type automatically: 
[https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types]
I would suggest renaming the binary to ignite.sh. Not 100% sure it would work 
though, It'd depend on the mirror server config.

> Ignite 3 alpha Unix binary opens on click instead of being downloaded
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-13978
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13978
>             Project: Ignite
>          Issue Type: Bug
>          Components: website
>            Reporter: Valentin Kulichenko
>            Assignee: Mauricio Stekl
>            Priority: Blocker
>             Fix For: 3.0.0-alpha1
>
>
> 1. Go to binary downloads: https://ignite.apache.org/download.cgi#binaries
> 2. Locate the 3.0.0 alpha and click on the download for Unix.
> 3. Expected: {{ignite}} file is downloaded. Actual: the file opens up in the 
> same window.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to