Do not forget about 405 - Method not allowed

This commit is contained in:
Nils Maier 2019-09-04 21:34:52 +02:00
parent 1c10d8005a
commit 216bc590da

View File

@ -356,7 +356,7 @@ export class Download extends BaseDownload {
this.cancel();
this.error = "SERVER_UNAUTHORIZED";
}
else if (status === 400) {
else if (status === 400 || status === 405) {
PREROLL_NOPE.add(this.uURL.host);
}
else if (status > 400 && status < 500) {