While troubleshooting an issue with Whisparr (https://github.com/Whisparr/Whisparr/issues/32), it appears that the HTTP 308 redirect returned by the Whisparr’s API proxy is not properly handled by nzbdrone. It should follow the redirect to https, but it looks like it’s checking the Content-Type header, seeing text/html, and throwing UnexpectedHtmlContentException before following the redirect. I’d expect it to follow the redirects first, then check the Content-Type after the redirects are resolved.
I’ve poked around the source, but I can’t follow the exact sequence of function calls.