Corrected get_errno import to make websocket example work again (boo me for using an internal API). Added note about which browser it works with.
This commit is contained in:
@@ -39,6 +39,7 @@ window.onload = function() {
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h3>Plot</h3>
|
<h3>Plot</h3>
|
||||||
|
<p>(Only tested in Chrome)</p>
|
||||||
<div id="holder" style="width:600px;height:300px"></div>
|
<div id="holder" style="width:600px;height:300px"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -1,9 +1,9 @@
|
|||||||
import collections
|
import collections
|
||||||
import errno
|
import errno
|
||||||
|
import eventlet
|
||||||
from eventlet import wsgi
|
from eventlet import wsgi
|
||||||
from eventlet import pools
|
from eventlet import pools
|
||||||
import eventlet
|
from eventlet.support import get_errno
|
||||||
from eventlet.common import get_errno
|
|
||||||
|
|
||||||
class WebSocketWSGI(object):
|
class WebSocketWSGI(object):
|
||||||
def __init__(self, handler, origin):
|
def __init__(self, handler, origin):
|
||||||
|
Reference in New Issue
Block a user