Skip to content

Fix ws/wss parsing so that SSL is actually used when you enter a wss URL #15

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

Merged
merged 1 commit into from
Dec 29, 2012

Conversation

jefferai
Copy link
Contributor

In the current repository, when using a wss:// URL -- even when also manually specifying port 443 -- SSL is not actually used, because in client.py it constructs the URL over again and always uses "ws".

This commit makes the client aware of the given scheme, and adds some sane parsing rules in init.py so that it works the way it's expected in all cases -- with/without scheme and with/without port.

progrium added a commit that referenced this pull request Dec 29, 2012
Fix ws/wss parsing so that SSL is actually used when you enter a wss URL
@progrium progrium merged commit cf5452b into progrium:master Dec 29, 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