b0ts37en / bittorrent-webui

Automatically exported from code.google.com/p/bittorrent-webui
0 stars 1 forks source link

MIME type incorrect for cached torrents #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When downloading a cached torrent the Content-Type sent to the client is 
application/octet-stream instead of something like application/x-bittorrent.

The current way always pops up a save dialog on Firefox and wont allow add-ons 
like bittorrent-webui to properly take care of the .torrent file in the 
background.

Original issue reported on code.google.com by iame...@gmail.com on 14 Jul 2014 at 5:35

GoogleCodeExporter commented 9 years ago
I think this is the problem that I've been experiencing with Kickass Torrents 
[kickass.to] (which is that I get the Firefox Save dialog). The url for the 
actual torrents point to torcache.net which is some sort of torrent caching 
service. And sure enough, the Content-Type of these requests is 
"application/octet-stream" just as iame mentioned. 

It should be easy to duplicate. Just go to kickass.to and download any torrent.

Original comment by vaxjoab...@gmail.com on 2 Sep 2014 at 10:48