[MacPorts] #31776: .tbz2 files are not plain text files
MacPorts
noreply at macports.org
Tue Oct 25 15:54:50 PDT 2011
#31776: .tbz2 files are not plain text files
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: wsiegrist@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: server/hosting | Version:
Keywords: | Port:
-------------------------------------+--------------------------------------
I just tried to download an archive by accessing this URL in the browser:
http://packages.macports.org/libiconv/libiconv-1.14_0.darwin_10.x86_64.tbz2
The browser began displaying it as if it were a text file, because the
server is delivering it with the text/plain MIME type. This is not a plain
text file and should be served with the application/octet-stream MIME
type, or better yet the proper MIME type, whatever that is (I've seen
various options:
* application/bzip2
* application/x-bz2
* application/x-bzip
* application/x-bzip2
* application/x-bzip-compressed-tar
).
If the distfiles server is a different machine from the packages server,
it also needs such a change; see:
http://distfiles.macports.org/libmowgli/libmowgli-0.7.1.tbz2
--
Ticket URL: <https://trac.macports.org/ticket/31776>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list