Fix for soundcloud returning 302 found instead of 200 OK
This commit is contained in:
parent
4c1b8e8c1a
commit
4e7dcbe7ef
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue