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

test_unknown_server failing #187

Open
supermarin opened this issue Mar 19, 2021 · 1 comment
Open

test_unknown_server failing #187

supermarin opened this issue Mar 19, 2021 · 1 comment

Comments

@supermarin
Copy link

http://no-such-hostname./ is redirecting on some routers (Verizon) and hitting a website with text/html content thus making this test fail. This breaks installation/packaging of some software that depends on httplib2, like magic-wormhole.

assert response["content-type"] == "text/plain"

@supermarin
Copy link
Author

It looks like this code hasn't changed in 3-4 years; are some dependencies set up incorrectly?
Should this be hitting the real network?

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