##// END OF EJS Templates
s/==/is/
Kyle Kelley -
Show More
@@ -49,7 +49,7 b' class ZMQStreamHandler(websocket.WebSocketHandler):'
49 49 host = self.request.headers.get("Host")
50 50
51 51 # If no header is provided, assume we can't verify origin
52 if(origin_header == None or host == None):
52 if(origin_header is None or host is None):
53 53 return False
54 54
55 55 parsed_origin = urlparse(origin_header)
General Comments 0
You need to be logged in to leave comments. Login now