bodrick / Ember-MM

Ember Media Manager - The all in one media manager for Kodi
http://ember.purplepig.net/
121 stars 32 forks source link

Fix IMDB search for a single item #25

Closed dougnazar closed 12 years ago

dougnazar commented 12 years ago

If the IMDB search matches a single item it redirects to the movie page. However, it seems to have trouble parsing the response and throws an exception.

WebException {"The server committed a protocol violation. Section=ResponseStatusLine"}

Disable Keep-Alive so that the redirect uses it's own tcp connection and relax the parser to handle malformed responses.