infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-17067) archive.a.o: incorrect content-type
Date Thu, 27 Sep 2018 21:35:00 GMT

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

ASF GitHub Bot commented on INFRA-17067:
----------------------------------------

clambertus commented on a change in pull request #1178: INFRA-17067
URL: https://github.com/apache/infrastructure-puppet/pull/1178#discussion_r221084795
 
 

 ##########
 File path: data/nodes/memnon.apache.org.yaml
 ##########
 @@ -67,6 +67,7 @@ vhosts_asf::vhosts::vhosts:
       LuaScope thread
       LuaCodeCache stat
       IndexOptions FoldersFirst FancyIndexing
+      AddType text/plain .asc .md5 .sha .sha1 .sha2 .sha256 .sha512 .sha3 .mds
 
 Review comment:
   same block we use on svn/dist copypasta

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> archive.a.o: incorrect content-type
> -----------------------------------
>
>                 Key: INFRA-17067
>                 URL: https://issues.apache.org/jira/browse/INFRA-17067
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Website
>            Reporter: Sebb
>            Assignee: Chris Lambertus
>            Priority: Minor
>              Labels: pull-request-available
>
> The Content-Type for the *.sha* extensions is incorrect on archive.a.o.
> It should be text/plain, but it is application/x-gzip.
> Other hash extensions such as md5, sha1 also have the incorrect type.
> $ curl -sqI https://www.apache.org/dist/httpd/httpd-2.4.35.tar.gz.sha256 | grep Content-Type
> Content-Type: text/plain
> $ curl -sqI https://archive.apache.org/dist/httpd/httpd-2.4.35.tar.gz.sha256 | grep Content-Type
> Content-Type: application/x-gzip



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message