fixed: increased tvdb search limit to 10

This commit is contained in:
Keivan Beigi 2014-12-30 20:24:35 -08:00
parent c368335183
commit 46bf80dcd1
4 changed files with 3 additions and 323 deletions

View file

@ -100,7 +100,8 @@ namespace NzbDrone.Common.Http
if (!RuntimeInfoBase.IsProduction &&
(response.StatusCode == HttpStatusCode.Moved ||
response.StatusCode == HttpStatusCode.MovedPermanently))
response.StatusCode == HttpStatusCode.MovedPermanently ||
response.StatusCode == HttpStatusCode.Found))
{
throw new Exception("Server requested a redirect to [" + response.Headers["Location"] + "]. Update the request URL to avoid this redirect.");
}