raoulmillais/node-7digital-api — Issue #15: http client is not following redirects
Author: hugorodrigues
Created: 2011-12-03 02:24:32+00:00
State: open

When i do:

tracks = new api.Tracks();
tracks.getPreview({ trackId: 1322 }, function(err, data) {
console.dir(data);
});

it returns:
{ head: { title: 'Object moved' },
body: { h2: { '#': 'Object moved to .', a: [Object] } } }
{ status: 'ok',
version: '1.2',
url: 'http://previews.7digital.com/clips/826/1322.clip.mp3' }

I guess it is not following the redirect header.