[ 
https://jira.codehaus.org/browse/MNGSITE-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=303449#comment-303449
 ] 

Marc Guenther edited comment on MNGSITE-157 at 7/12/12 8:32 AM:
----------------------------------------------------------------

Sorry, but the issue is not fixed. Safari still downloads a file, when I 
left-click on e.g. the {{apache-maven-2.2.1-bin.tar.gz}} link.

I looked at the traffic, and see that Safari sends the following:
{noformat}
GET 
http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-2.2.1-bin.tar.gz
 HTTP/1.1
Host: www.apache.org
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.55.3 
(KHTML, like Gecko) Version/5.1.5 Safari/534.55.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://maven.apache.org/download.html
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Connection: keep-alive
Proxy-Connection: keep-alive
{noformat}

I guess the {{Accept-Encoding: gzip, deflate}} is the culprit.

The webserver responds with:
{noformat}
HTTP/1.1 200 OK
Date: Thu, 12 Jul 2012 13:16:30 GMT
Server: Apache/2.4.1 (Unix) OpenSSL/1.0.0g
Vary: Accept-Encoding
Cache-Control: max-age=3600
Expires: Thu, 12 Jul 2012 14:16:30 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 6595
Connection: Keep-Alive
Content-Encoding: gzip
Age: 386
{noformat}

followed by the gzipped html page.

I don't know why, but for some reason Safari interprets this as something it 
should download and not display in the window.

                
      was (Author: marc.guenther):
    Sorry, but the issue is not fixed. Safari still downloads a file, when I 
left-click on the link.

I looked at the traffic, and see that Safari sends the following:
{noformat}
GET 
http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-2.2.1-bin.tar.gz
 HTTP/1.1
Host: www.apache.org
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.55.3 
(KHTML, like Gecko) Version/5.1.5 Safari/534.55.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://maven.apache.org/download.html
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Connection: keep-alive
Proxy-Connection: keep-alive
{noformat}

I guess the {{Accept-Encoding: gzip, deflate}} is the culprit.

The webserver responds with:
{noformat}
HTTP/1.1 200 OK
Date: Thu, 12 Jul 2012 13:16:30 GMT
Server: Apache/2.4.1 (Unix) OpenSSL/1.0.0g
Vary: Accept-Encoding
Cache-Control: max-age=3600
Expires: Thu, 12 Jul 2012 14:16:30 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 6595
Connection: Keep-Alive
Content-Encoding: gzip
Age: 386
{noformat}

followed by the gzipped html page.

I don't know why, but for some reason Safari interprets this as something it 
should download and not display in the window.

                  
> Download links not working
> --------------------------
>
>                 Key: MNGSITE-157
>                 URL: https://jira.codehaus.org/browse/MNGSITE-157
>             Project: Maven Project Web Site
>          Issue Type: Bug
>         Environment: MacOSX 10.6, Safari 5.1.5
>            Reporter: Marc Guenther
>            Assignee: Olivier Lamy
>
> Would it be possible to fix the download links on 
> http://maven.apache.org/download.html for maven .tar.gz files?
> When I click on apache-maven-3.0.4-bin.tar.gz, I get a file 
> {{apache-maven-3.0.4-bin.tar.gz}} which is 6591bytes long. Uncompressing from 
> the Finder does not work and closer inspection reveals that this is in fact a 
> gzipped html file, which points you to the list of mirrors.
> This has been confusing new users for years now. Does not seem too hard to 
> fix...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to