Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix IMDB search for a single item #25

Merged
merged 1 commit into from
Jun 18, 2012
Merged

Conversation

dougnazar
Copy link
Contributor

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.

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.
bodrick pushed a commit that referenced this pull request Jun 18, 2012
Fix IMDB search for a single item
@bodrick bodrick merged commit 630c425 into bodrick:master Jun 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants