Fix broken test that misuses urlparse library. The behavior of urlparse (urllib.parse in python3) differs in python2 and python 3. Current assumption only works with python3, which leads to failure of test in python2. Fix this by switching assumptions depending on python versions. This also fixes a missing _handshake instance variable in EchoClient class. Change-Id: I6898c933457cdc5713148a4c880042594cc3c938
The pywebsocket project aims to provide a WebSocket standalone server.
pywebsocket is intended for testing or experimental purposes.
Run this to read the general document:
$ pydoc mod_pywebsocket
Please see Wiki for more details.
To install this package to the system, run this:
$ python setup.py build $ sudo python setup.py install
To install this package as a normal user, run this instead:
$ python setup.py build $ python setup.py install --user
To use pywebsocket as standalone server, run this to read the document:
$ pydoc mod_pywebsocket.standalone