[MacPorts] #36063: Binary files should not be served with Content-Type: text/plain
MacPorts
noreply at macports.org
Sun Sep 9 07:26:14 PDT 2012
#36063: Binary files should not be served with Content-Type: text/plain
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: wsiegrist@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: server/hosting | Version:
Keywords: | Port:
-------------------------------------+--------------------------------------
Binary files should not be served with Content-Type: text/plain:
{{{
$ curl -I
http://packages.macports.org/ncurses/ncurses-5.9_1+universal.darwin_10.i386-x86_64.tbz2
HTTP/1.1 200 OK
Date: Sun, 09 Sep 2012 14:21:53 GMT
Server: Apache/2.2
Last-Modified: Tue, 09 Aug 2011 22:35:31 GMT
ETag: "8c2a2f-18cf60-4aa1a2e63b2c0"
Accept-Ranges: bytes
Content-Length: 1625952
Connection: close
Content-Type: text/plain; charset=UTF-8
}}}
This content-type is also strange:
{{{
$ curl -I -L https://distfiles.macports.org/libmowgli/libmowgli-0.7.1.tbz2
HTTP/1.1 200 OK
Date: Sun, 09 Sep 2012 14:24:54 GMT
Server: Apache/2.2
Last-Modified: Wed, 05 Sep 2012 00:45:47 GMT
ETag: "8a0e86-19a0c-4c8e9b2129bf1"
Accept-Ranges: bytes
Content-Length: 104972
Connection: close
Content-Type: application/x-troff-man
}}}
--
Ticket URL: <https://trac.macports.org/ticket/36063>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list