Fix for soundcloud returning 302 found instead of 200 OK

This commit is contained in:
Calvin Montgomery 2014-05-21 20:53:13 -07:00
parent 4c1b8e8c1a
commit 4e7dcbe7ef
1 changed files with 1 additions and 0 deletions

View File

@ -479,6 +479,7 @@ var Getters = {
urlRetrieve(https, options, function (status, data) {
switch (status) {
case 200:
case 302:
break; /* Request is OK, skip to handling data */
case 400:
return callback("Invalid request", null);