MIME type setup for torrent files

Andy Green fedora at warmcat.com
Wed Nov 12 15:00:23 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 12 November 2003 14:06, Dennis Gilmore wrote:

> > I disagree, it is not set up OK.
> >
> > application/x-bittorrent would be OK.
>
> my understanding is that the .torrent files are just plain text files  so
> it is ok.

Your understanding is wrong... they have some text in them but the bulk of 
them is 8-bit binary.

Besides, the point of the Content-type field is to hint to the browser how to 
handle the file... displaying it as text in the browser is not useful, 
whereas as David points out correctly tagging it allows the browser to use 
the Mime handler stuff to spawn BT automatically on clicking the link.

Sadly very few torrent servers are set up right and you need to Save Link 
Target As... and then open it locally. 

- -Andy

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/sksHjKeDCxMJCTIRAt8kAJ0QNVFSFlH8VH/Nr9PzOgqo/8q6HwCfQTg/
eo40REb+pM9f/IxzVaRcbLs=
=Bl3y
-----END PGP SIGNATURE-----





More information about the fedora-list mailing list