Opened 12 years ago

Closed 12 years ago

#36063 closed defect (fixed)

Binary files should not be served with Content-Type: text/plain

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: wsiegrist@…
Priority: Normal Milestone:
Component: server/hosting Version:
Keywords: Cc:
Port:

Description

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

Change History (1)

comment:1 Changed 12 years ago by wsiegrist@…

Resolution: fixed
Status: newclosed

Thanks for reporting the issue.

Note: See TracTickets for help on using tickets.