Do not forget about 405 - Method not allowed
This commit is contained in:
parent
1c10d8005a
commit
216bc590da
@ -356,7 +356,7 @@ export class Download extends BaseDownload {
|
|||||||
this.cancel();
|
this.cancel();
|
||||||
this.error = "SERVER_UNAUTHORIZED";
|
this.error = "SERVER_UNAUTHORIZED";
|
||||||
}
|
}
|
||||||
else if (status === 400) {
|
else if (status === 400 || status === 405) {
|
||||||
PREROLL_NOPE.add(this.uURL.host);
|
PREROLL_NOPE.add(this.uURL.host);
|
||||||
}
|
}
|
||||||
else if (status > 400 && status < 500) {
|
else if (status > 400 && status < 500) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user