Skip to content

Commit

Permalink
Merge pull request #67 from lealem47/ws-client
Browse files Browse the repository at this point in the history
  • Loading branch information
cconlon authored May 31, 2022
2 parents 6103367 + d1a1a95 commit ea46ab3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions websocket-client/websocket/_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ def parse_url(url):
is_secure = True
if not port:
port = 443
elif scheme == "https":
is_secure = True
if not port:
port = 443
else:
raise ValueError("scheme %s is invalid" % scheme)

Expand Down

0 comments on commit ea46ab3

Please sign in to comment.