{"action":"created","issue":{"url":"https://api.github.com/repos/request/request/issues/1734","labels_url":"https://api.github.com/repos/request/request/issues/1734/labels{/name}","comments_url":"https://api.github.com/repos/request/request/issues/1734/comments","events_url":"https://api.github.com/repos/request/request/issues/1734/events","html_url":"https://github.com/request/request/issues/1734","id":101636814,"number":1734,"title":"request pipe not work with specific image URL","user":{"login":"nvcken","id":3489866,"avatar_url":"https://avatars.githubusercontent.com/u/3489866?v=3","gravatar_id":"","url":"https://api.github.com/users/nvcken","html_url":"https://github.com/nvcken","followers_url":"https://api.github.com/users/nvcken/followers","following_url":"https://api.github.com/users/nvcken/following{/other_user}","gists_url":"https://api.github.com/users/nvcken/gists{/gist_id}","starred_url":"https://api.github.com/users/nvcken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvcken/subscriptions","organizations_url":"https://api.github.com/users/nvcken/orgs","repos_url":"https://api.github.com/users/nvcken/repos","events_url":"https://api.github.com/users/nvcken/events{/privacy}","received_events_url":"https://api.github.com/users/nvcken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-18T11:42:15Z","updated_at":"2015-08-18T15:20:32Z","closed_at":null,"body":"image url    \"http://efaucets.resultspage.com/thumb.php?aspect=true&s=220&f=http%3a%2f%2fwww.efaucets.com%2fimages%2fDeltaFaucet%2f58045-RB.jpg\",\r\n```\r\n  request.head(url, function(err, res, body){\r\n    if(err) callback(err);\r\n    else {\r\n      request(url).pipe(fs.createWriteStream(dest)).on('close', callback);\r\n    }\r\n  });\r\n```\r\nGot an error image file\r\nIf I use raw http module to download image, It works.\r\nWhat wrong here ?\r\nI tried with both lastest and older (2.58.0) version"},"comment":{"url":"https://api.github.com/repos/request/request/issues/comments/132247930","html_url":"https://github.com/request/request/issues/1734#issuecomment-132247930","issue_url":"https://api.github.com/repos/request/request/issues/1734","id":132247930,"user":{"login":"nvcken","id":3489866,"avatar_url":"https://avatars.githubusercontent.com/u/3489866?v=3","gravatar_id":"","url":"https://api.github.com/users/nvcken","html_url":"https://github.com/nvcken","followers_url":"https://api.github.com/users/nvcken/followers","following_url":"https://api.github.com/users/nvcken/following{/other_user}","gists_url":"https://api.github.com/users/nvcken/gists{/gist_id}","starred_url":"https://api.github.com/users/nvcken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvcken/subscriptions","organizations_url":"https://api.github.com/users/nvcken/orgs","repos_url":"https://api.github.com/users/nvcken/repos","events_url":"https://api.github.com/users/nvcken/events{/privacy}","received_events_url":"https://api.github.com/users/nvcken/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T15:20:31Z","updated_at":"2015-08-18T15:20:31Z","body":"The file is saved. But only 127 bytes.\r\nContent of file is \r\n```\r\n<?xml version='1.0' encoding='UTF-8'?><Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message></Error>\r\n```"}}