'Adds a torrent file from memory
params: :result: an instance of the searchResult class'

def _add_torrent_file(self, result):

    params = {u'action': u'add-file'}
    files = {u'torrent_file': ((result.name + u'.torrent'), result.content)}
    return self._request(method=u'post', params=params, files=files)
