fixed retrieve method does not fire then because request url has moved(301)

this is quick fix.
should follow redirects for fixing root cause.
(IMHO, use requestjs instead of http/https module in Resouce.js:makeRequest)