diff options
author | Damjan Stulic <damjan.stulic@sonos.com> | 2019-08-07 15:35:50 -0700 |
---|---|---|
committer | Damjan Stulic <damjan.stulic@sonos.com> | 2019-08-07 15:35:50 -0700 |
commit | 72a06826ad5814e000b8cf4f09d5b745471e0326 (patch) | |
tree | 32dccb07957d499edcb6cc8708e04a18fafb6c20 /websocket | |
parent | 0598ef1a7a9d72670bf592439f1899412e790989 (diff) | |
download | websocket-client-72a06826ad5814e000b8cf4f09d5b745471e0326.tar.gz |
removed extra white space
Diffstat (limited to 'websocket')
-rw-r--r-- | websocket/_handshake.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/websocket/_handshake.py b/websocket/_handshake.py index 20b950b..92b3f9b 100644 --- a/websocket/_handshake.py +++ b/websocket/_handshake.py @@ -101,7 +101,6 @@ def _get_handshake_headers(resource, host, port, options): hostport = _pack_hostname(host) else: hostport = "%s:%d" % (_pack_hostname(host), port) - if "host" in options and options["host"] is not None: headers.append("Host: %s" % options["host"]) else: |