mirror of https://github.com/calzoneman/sync.git
Fix for soundcloud returning 302 found instead of 200 OK
This commit is contained in:
parent
4c1b8e8c1a
commit
4e7dcbe7ef
|
@ -479,6 +479,7 @@ var Getters = {
|
||||||
urlRetrieve(https, options, function (status, data) {
|
urlRetrieve(https, options, function (status, data) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
case 200:
|
case 200:
|
||||||
|
case 302:
|
||||||
break; /* Request is OK, skip to handling data */
|
break; /* Request is OK, skip to handling data */
|
||||||
case 400:
|
case 400:
|
||||||
return callback("Invalid request", null);
|
return callback("Invalid request", null);
|
||||||
|
|
Loading…
Reference in New Issue