mikeal/request — Issue #129: request isn't streaming and/or redirecting Tumblr/AWS urls correctly
Author: robbiet480
Created: 2011-12-07 05:34:43+00:00
State: open

This works fine:

var request = require('request');
request('http://s3.amazonaws.com/data.tumblr.com/tumblr_lgkzjx9pid1qarvg9o1_1280.png? AWSAccessKeyId=AKIAJ6IHWSU3BX3X7X3Q&Expires=1323321189&Signature=sVZ1X4z/LXhV7gpiNvtKdwUQB1E=').pipe(require('fs').createWriteStream("awesome.jpg"))

This doesn't:

var request = require('request');
request('http://www.tumblr.com/photo/1280/13859988881/1/tumblr_lgkzjx9pid1qarvg9').pipe(require('fs').createWriteStream("awesome.jpg"))