mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Backport fix for #9503
This commit is contained in:
parent
f1dc7d3a66
commit
768497d0ff
@ -181,6 +181,10 @@ namespace MediaBrowser.Providers.Manager
|
|||||||
{
|
{
|
||||||
contentType = "image/png";
|
contentType = "image/png";
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
throw new HttpRequestException("Invalid image received: contentType not set.", null, response.StatusCode);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// thetvdb will sometimes serve a rubbish 404 html page with a 200 OK code, because reasons...
|
// thetvdb will sometimes serve a rubbish 404 html page with a 200 OK code, because reasons...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user