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

XhrPolling.test_transport fails because of the bug at verify_content_type #66

Open
ngocdaothanh opened this issue Jan 18, 2013 · 0 comments

Comments

@ngocdaothanh
Copy link
Contributor

Source code of verify_content_type:

def verify_content_type(self, r, content_type):
    self.assertEqual(r['content-type'].replace(' ', ''), content_type)

It always fails when content_type contains space:

self.verify_content_type(r, 'text/plain; charset=UTF-8')
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

No branches or pull requests

1 participant