pillone / usntssearch

NZB Metasearch engine
pillone.github.io/usntssearch
265 stars 79 forks source link

API response header content-type is text/html which is refused by NzbDrone #140

Open RandomUser99 opened 9 years ago

RandomUser99 commented 9 years ago

As per the thread on the NzbDrone support forums http://forums.nzbdrone.com/t/trouble-scraping-nzbmegasearch-indexer/2188

Upon inspecting the response headers from an API query, the content-type is "text/html" instead of the correct content-type for RSS which is "application/rss+xml".

image

Since the 2.0.0.2046 release of NzbDrone, it now refuses to accept incorrect content-type response headers, rending the NzbMegaSearch API useless to it.