unused field
This commit is contained in:
parent
af69c9224e
commit
9da11785d6
1 changed files with 911 additions and 912 deletions
|
@ -455,7 +455,6 @@ class WebSocket(object):
|
||||||
self._handshake(hostname, port, resource, **options)
|
self._handshake(hostname, port, resource, **options)
|
||||||
|
|
||||||
def _handshake(self, host, port, resource, **options):
|
def _handshake(self, host, port, resource, **options):
|
||||||
sock = self.sock
|
|
||||||
headers = []
|
headers = []
|
||||||
headers.append("GET %s HTTP/1.1" % resource)
|
headers.append("GET %s HTTP/1.1" % resource)
|
||||||
headers.append("Upgrade: websocket")
|
headers.append("Upgrade: websocket")
|
||||||
|
|
Loading…
Reference in a new issue