Show More
@@ -48,6 +48,9 b' class ZMQStreamHandler(websocket.WebSocketHandler):' | |||
|
48 | 48 | origin_header = self.request.headers.get("Origin") |
|
49 | 49 | host = self.request.headers.get("Host") |
|
50 | 50 | |
|
51 | if(origin_header == None or host == None): | |
|
52 | return True | |
|
53 | ||
|
51 | 54 | parsed_origin = urlparse(origin_header) |
|
52 | 55 | origin = parsed_origin.netloc |
|
53 | 56 |
General Comments 0
You need to be logged in to leave comments.
Login now