Skip to content

Commit e6e1863

Browse files
committed
Add headers to websocket handler object
1 parent 56af8ae commit e6e1863

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: websocket_server/websocket_server.py

+1
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@ def handshake(self):
446446
with self._send_lock:
447447
self.handshake_done = self.request.send(response.encode())
448448
self.valid_client = True
449+
self.headers = headers
449450
self.server._new_client_(self)
450451

451452
@classmethod

0 commit comments

Comments
 (0)